mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Removing consolidated hook because values were not being passed up.
This commit is contained in:
parent
2053dc46f9
commit
3f08bce9ea
11 changed files with 106 additions and 98 deletions
|
|
@ -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():
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue