diff --git a/SE_API/ProjectRoutes.py b/SE_API/ProjectRoutes.py index b9d9047..f8dc075 100644 --- a/SE_API/ProjectRoutes.py +++ b/SE_API/ProjectRoutes.py @@ -75,7 +75,7 @@ def create_project(token): try: - project = Project(projectName=payload['projectName'], courseId=payload['courseId'], master_id=user.key().id(), gitRepository=payload['gitRepository'], membersId=[user.key().id()]) + project = Project(projectName=payload['projectName'], courseId=payload['courseId'], master_id=user.key().id(), gitRepository=payload['gitRepository'], membersId=[str(user.key().id())]) except Exception as e: print e return bad_request()