log login error
This commit is contained in:
@@ -146,7 +146,7 @@ class POSDeviceViewSet(viewsets.ModelViewSet, POSDeviceMixin):
|
||||
|
||||
return Response(
|
||||
{
|
||||
"result": "خطای سرور داخلی رخ داده است. لطفا بعدا تلاش کنید.",
|
||||
"result": "خطای سرور داخلی رخ داده است. لطفا بعدا تلاش کنید.", # noqa
|
||||
"error_message": error_message,
|
||||
"error_title": error_title,
|
||||
"error_traceback": error_traceback,
|
||||
@@ -154,8 +154,7 @@ class POSDeviceViewSet(viewsets.ModelViewSet, POSDeviceMixin):
|
||||
status=status.HTTP_500_INTERNAL_SERVER_ERROR
|
||||
)
|
||||
|
||||
|
||||
@action(
|
||||
@action(
|
||||
methods=['post'],
|
||||
detail=False,
|
||||
url_path='merge_devices',
|
||||
|
||||
Reference in New Issue
Block a user