1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-23 16:23:41 +00:00

Added missing authentication on system/status API endpoint. #1467

This commit is contained in:
morpheus65535 2021-07-12 11:50:19 -04:00
parent 0a1ad41f9d
commit 2428399206

View file

@ -592,6 +592,7 @@ class SystemLogs(Resource):
class SystemStatus(Resource): class SystemStatus(Resource):
@authenticate
def get(self): def get(self):
system_status = {} system_status = {}
system_status.update({'bazarr_version': os.environ["BAZARR_VERSION"]}) system_status.update({'bazarr_version': os.environ["BAZARR_VERSION"]})