mirror of
https://github.com/nextcloud/server.git
synced 2026-07-11 10:36:08 -04:00
fix: webhook payload for system tag events
Signed-off-by: Your Name <you@example.com>
This commit is contained in:
parent
e76d290b67
commit
dde64eab39
1 changed files with 2 additions and 2 deletions
|
|
@ -302,8 +302,8 @@ class SystemTagObjectMapper implements ISystemTagObjectMapper {
|
|||
#[\Override]
|
||||
public function setObjectIdsForTag(string $tagId, string $objectType, array $objectIds): void {
|
||||
$currentObjectIds = $this->getObjectIdsForTags($tagId, $objectType);
|
||||
$removedObjectIds = array_diff($currentObjectIds, $objectIds);
|
||||
$addedObjectIds = array_diff($objectIds, $currentObjectIds);
|
||||
$removedObjectIds = array_values(array_diff($currentObjectIds, $objectIds));
|
||||
$addedObjectIds = array_values(array_diff($objectIds, $currentObjectIds));
|
||||
|
||||
$this->connection->beginTransaction();
|
||||
$query = $this->connection->getQueryBuilder();
|
||||
|
|
|
|||
Loading…
Reference in a new issue