Skip to content

Commit

Permalink
Merge pull request #640 from mapswipe/update-organisation-name-script
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
Hagellach37 committed Jan 20, 2023
2 parents 4c5a388 + 7d2abb1 commit 7ecb755
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ def update_projects(
new_project_name = project_name.replace(
old_organization_name, new_organization_name
)
fb_db.reference(f"v2/projects/{project_id}/organizationName").set(
new_project_name
)
fb_db.reference(f"v2/projects/{project_id}/name").set(new_project_name)
logger.info(
f"#{i} set project name '{new_project_name}' for project '{project_id}'"
)
Expand Down

0 comments on commit 7ecb755

Please sign in to comment.