Commit 5a4b3e24 by Fukász Rómeó Ervin

fixed coding style 'error'

parent 04394fdf
Pipeline #444 passed with stage
in 0 seconds
...@@ -102,7 +102,7 @@ def validate_request(request, authentication_required=True, ...@@ -102,7 +102,7 @@ def validate_request(request, authentication_required=True,
has_data=False, **kwargs): has_data=False, **kwargs):
""" This function checks if the request's content type is """ This function checks if the request's content type is
application/json and if the data is a valid json object. If the application/json and if the data is a valid json object. If the
authentication_required parameter is True, it will also check if authentication_required parameter is 'True', it will also check if
the user is authenticated. """ the user is authenticated. """
# checking if the user is authenticated # checking if the user is authenticated
if authentication_required: if authentication_required:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment