Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
feat(client): imp post()
Browse files Browse the repository at this point in the history
Signed-off-by: hldh214 <[email protected]>
  • Loading branch information
hldh214 committed Aug 7, 2023
1 parent 821dfd5 commit 61d8d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lokbot/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def post(self, url, json_data=None):
}

try:
if api_path in self.protected_api_list:
if api_path in self.protected_api_list and response.text[0] != '{':
json_response = self.b64xor_dec(response.text)
else:
json_response = response.json()
Expand Down

0 comments on commit 61d8d27

Please sign in to comment.