Unverified Commit 6ae171b3 authored by Keshav Prasad's avatar Keshav Prasad Committed by GitHub
Browse files

fix: base64 issues in commenting (#3150)

No related merge requests found
Showing with 1 addition and 2 deletions
+1 -2
......@@ -51,8 +51,7 @@ token_roles = user_token.payload.roles {
userid = token_userid {
not http_request.headers["x-authenticated-for"]
} else = token_userid {
# This is a temporary fix as the mobile app is sending empty headers as x-authenticated-for: ""
http_request.headers["x-authenticated-for"] == ""
http_request.headers["x-authenticated-for"] == "" # This is a temporary fix as the mobile app is sending empty headers as x-authenticated-for: ""
} else = for_token_userid {
http_request.headers["x-authenticated-for"]
http_request.headers["x-authenticated-for"] != ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment