do not commit environment role updates unless an update happened
This commit is contained in:
parent
8754a74613
commit
a5009ec130
@ -92,7 +92,9 @@ class Environments(object):
|
||||
updated = True
|
||||
db.session.add(env_role)
|
||||
|
||||
if updated:
|
||||
db.session.commit()
|
||||
|
||||
return updated
|
||||
|
||||
@classmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user