Skip to content

Commit

Permalink
Fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
faucomte97 committed Nov 1, 2024
1 parent 215a97d commit 6fd319f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions game/level_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,10 @@ def set_decor_inner(level, decor, LevelDecor):
for data in decor:
level_decors.append(
LevelDecor(
level_id=level.id, x=data["x"], y=data["y"], decor_name=data["decor_name"]
level_id=level.id,
x=data["x"],
y=data["y"],
decor_name=data["decorName"],
)
)
LevelDecor.objects.bulk_create(level_decors)
Expand Down Expand Up @@ -203,6 +206,6 @@ def email_new_custom_level(
"STUDENT_NAME": student_name,
"CLASS_NAME": class_name,
"LEVEL_URL": level_url,
"MODERATE_URL": moderate_url
}
"MODERATE_URL": moderate_url,
},
)

0 comments on commit 6fd319f

Please sign in to comment.