Merge pull request #1301 from pneb/patch-2

enhancement: Small fix
This commit is contained in:
Matt Scott
2022-12-08 21:35:09 -05:00
committed by GitHub

View File

@ -83,7 +83,7 @@ class ApiKey(db.Model):
except Exception as e:
msg_str = 'Update of apikey failed. Error: {0}'
current_app.logger.error(msg_str.format(e))
db.session.rollback
db.session.rollback() # fixed line
raise e
def get_hashed_password(self, plain_text_password=None):