Skip to content

Commit

Permalink
Fix last_update function call for metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Nov 2, 2023
1 parent 35cb1a5 commit 22bbdcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function store(IFilesMetadata $filesMetadata): void {
->setValue('file_id', $qb->createNamedParameter($filesMetadata->getFileId(), IQueryBuilder::PARAM_INT))
->setValue('json', $qb->createNamedParameter(json_encode($filesMetadata->jsonSerialize())))
->setValue('sync_token', $qb->createNamedParameter($this->generateSyncToken()))
->setValue('last_update', $qb->createNamedParameter($qb->createFunction('NOW()')));
->setValue('last_update', $qb->createFunction('NOW()'));
$qb->executeStatement();
}

Expand Down

0 comments on commit 22bbdcd

Please sign in to comment.