app set is_saved=True when it has the version
This commit is contained in:
@@ -200,7 +200,7 @@ class dbapp(crudbase):
|
||||
db_flow.updateuserid = userid
|
||||
db.add(db_flow)
|
||||
db_app = self.get_app(db, domainurl, flow.appid)
|
||||
if db_app:
|
||||
if db_app and db_app.version > 0:
|
||||
db_app.is_saved = True
|
||||
db.add(db_app)
|
||||
db.commit()
|
||||
|
||||
Reference in New Issue
Block a user