Skip to content

Commit

Permalink
Merge pull request #27 from KnowledgeSeed/feature/checkAccessForm
Browse files Browse the repository at this point in the history
_get_server_side_mdx method modified in line 165 (check form request)
  • Loading branch information
ote82 authored Sep 27, 2023
2 parents a956fa4 + 359745f commit 6963a53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions analogic/authentication_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ def _get_server_side_mdx(self, force_server_side_query=False):
if request.args.get('server') is not None or force_server_side_query is True:
if request.method == 'GET':
body = request.args
elif len(request.form) > 0:
body = request.form.to_dict()
else:
body = orjson.loads(request.data)
key = body['key']
Expand Down

0 comments on commit 6963a53

Please sign in to comment.