fix: update modified of Singles
This commit is contained in:
parent
2b8328715e
commit
2ab030c4d8
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ def update_modified(original_modified, doc):
|
|||
).set(
|
||||
singles_table.value,original_modified
|
||||
).where(
|
||||
singles_table.field == "modified"
|
||||
singles_table["field"] == "modified", # singles_table.field is a method of pypika Selectable
|
||||
).where(
|
||||
singles_table.doctype == doc["name"]
|
||||
).run()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue