Skip to content

Commit

Permalink
replace create_new_site_group
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-labri-tipton committed Oct 13, 2023
1 parent fd00477 commit 3a6e0ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/sites_toolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from sqlalchemy import func
from pvsite_datamodel.connection import DatabaseConnection
from pvsite_datamodel.sqlmodels import SiteSQL
from pvsite_datamodel.write.user_and_site import make_user
from pvsite_datamodel.write.user_and_site import make_site_group
from pvsite_datamodel.read import (
get_all_sites,
get_user_by_email,
Expand All @@ -17,7 +17,6 @@

from get_data import (
create_new_site,
create_new_site_group,
create_user,
get_all_users,
get_all_site_groups,
Expand Down Expand Up @@ -479,8 +478,8 @@ def sites_toolbox_page():
unsafe_allow_html=True,
)
else:
new_site_group = create_new_site_group(
session=session,
new_site_group = make_site_group(
db_session=session,
site_group_name=new_site_group_name,
)
new_site_group_details = {
Expand Down

0 comments on commit 3a6e0ba

Please sign in to comment.