mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-12-14 11:27:02 +01:00
Commit to database on only on request teardown
This commit is contained in:
@@ -26,7 +26,6 @@ class UnauthenticatedBans(db.Model):
|
||||
|
||||
def liftBan(self, lifter_id):
|
||||
self.lifter_id = lifter_id
|
||||
db.session.commit()
|
||||
return self.lifter_id
|
||||
|
||||
def __repr__(self):
|
||||
|
||||
Reference in New Issue
Block a user