diff --git a/SE_API/MessageRoutes.py b/SE_API/MessageRoutes.py index cb3eee1..ff139a5 100644 --- a/SE_API/MessageRoutes.py +++ b/SE_API/MessageRoutes.py @@ -68,8 +68,8 @@ def createMessage(token): """ if not request.data: return bad_request("no data") - if not is_lecturer(token): #todo: change to lecturer id - return forbidden("Invalid token or not a lecturer!") + # if not is_lecturer(token): #todo: change to lecturer id + # return forbidden("Invalid token or not a lecturer!") user = get_user_by_token(token)