From b561bcb60d2b8d3d42ac6f93d020d367f6ecd5c8 Mon Sep 17 00:00:00 2001 From: Aaron Kimbre Date: Tue, 7 Jun 2022 21:33:42 -0500 Subject: [PATCH] fix bulk key creation --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index bdd2469..566d9a3 100644 --- a/app/models.py +++ b/app/models.py @@ -114,7 +114,7 @@ class PlayKey(db.Model): ) db.session.add(new_key) db.session.commit() - return key + return key def delete(self): db.session.delete(self)