Support since parameter for siteUpdate
This commit is contained in:
parent
1668659ff6
commit
2b389e4e85
2 changed files with 6 additions and 5 deletions
|
@ -672,9 +672,9 @@ class UiWebsocket(object):
|
|||
site.websockets.append(self)
|
||||
|
||||
# Update site content.json
|
||||
def actionSiteUpdate(self, to, address, check_files=False):
|
||||
def actionSiteUpdate(self, to, address, check_files=False, since=None):
|
||||
def updateThread():
|
||||
site.update(check_files=check_files)
|
||||
site.update(check_files=check_files, since=since)
|
||||
self.response(to, "Updated")
|
||||
|
||||
site = self.server.sites.get(address)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue