1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2025-07-06 08:16:23 +00:00

Refactor webservice db stuff to use a single sessionmaker

This commit is contained in:
Kristóf Tóth
2018-05-03 14:24:30 +02:00
parent 3203f3af84
commit 99b19a80da
2 changed files with 18 additions and 19 deletions

View File

@ -39,4 +39,3 @@ class UserOps:
user = User(username=self.username,
passwordhash=PasswordHasher.hash(self.password))
db.add(user)
db.commit()