Removing consolidated hook because values were not being passed up.

This commit is contained in:
Roland 2022-02-02 14:02:51 -07:00
parent 2053dc46f9
commit 3f08bce9ea
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
11 changed files with 106 additions and 98 deletions

View file

@ -127,6 +127,8 @@ def _refresh_files():
with get_db_curs(commit=True) as curs:
curs.execute('DELETE FROM file WHERE idempotency IS NULL')
logger.info('Done refreshing Files')
@wraps(_refresh_files)
def refresh_files():

View file

@ -28,7 +28,7 @@ class File(ModelHelper, Base):
d = dict(
id=self.id,
mimetype=self.mimetype,
modification_datetime=self.modification_datetime,
modified=self.modification_datetime, # React browser expects this.
path=path,
size=self.size,
key=path,