add cors filter for mobileapi
This commit is contained in:
@@ -53,10 +53,10 @@ class MobileDeviceManager extends BaseObject
|
||||
throw new NotFoundHttpException();
|
||||
}
|
||||
|
||||
if (
|
||||
in_array($device->status, [MobileDevice::STATUS_ACTIVE, MobileDevice::STATUS_INACTIVE], true) === false ){
|
||||
throw new NotFoundHttpException();
|
||||
}
|
||||
// if (
|
||||
// in_array($device->status, [MobileDevice::STATUS_ACTIVE, MobileDevice::STATUS_INACTIVE], true) === false ){
|
||||
// throw new NotFoundHttpException();
|
||||
// }
|
||||
|
||||
return $device;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user