Skip to content

Fix variable name in project results #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions website/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def createProject(project_id, project_name, project_description, project_annotat
all_stages = [s['stage'] for s in project_info['workflow']]
refresh_selected_stages(project_id, all_stages)

return {'success': True , "projectID": project_id, 'new_reated_users': json.dumps(new_created_users)}
return {'success': True , "projectID": project_id, 'new_created_users': json.dumps(new_created_users)}


def editProject(project_id, project_name, project_description, project_annotators, project_managers, user):
Expand All @@ -149,7 +149,7 @@ def editProject(project_id, project_name, project_description, project_annotator
for role, annotator_list in project_annotators.items():
new_created_users += add_project_staff(conn, project_id, project_name, annotator_list, role, user)
new_created_users += add_project_staff(conn, project_id, project_name, project_managers, 'manager', user)
return {"success": True, "projectID": project_name, 'new_reated_users': json.dumps(new_created_users)}
return {"success": True, "projectID": project_name, 'new_created_users': json.dumps(new_created_users)}


def update_project_source_dict(project_id, src_dict_id):
Expand Down