다른 액션에서 procMemberRegisterDevice를 호출한 경우에는 response method를 건드리지 않도록 변경

This commit is contained in:
Kijin Sung 2021-11-24 15:35:24 +09:00
parent ae44f26bc5
commit 3ece3ed7a4

View file

@ -105,7 +105,10 @@ class memberController extends member
*/
function procMemberRegisterDevice($member_srl = null, $device_token = null)
{
Context::setResponseMethod('JSON');
if (Context::get('act') === 'procMemberRegisterDevice')
{
Context::setResponseMethod('JSON');
}
// Check user_id, password, device_token
$allow_guest_device = config('push.allow_guest_device');