no log: fixed logout API endpoint

This commit is contained in:
morpheus65535 2022-09-23 14:06:32 -04:00
parent e7d22687a0
commit daa7ef3fd0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class SystemAccount(Resource):
@api_ns_system_account.response(404, 'Unknown authentication type define in config.ini')
def post(self):
"""Login or logout from Bazarr UI when using form login"""
args = self.patch_request_parser.parse_args()
args = self.post_request_parser.parse_args()
if settings.auth.type != 'form':
return 'Unknown authentication type define in config.ini', 404