Fix cache invalidation when updating attributes
This commit is contained in:
parent
dd2f980539
commit
3cfbdf07b7
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ function updateAttribute(
|
|||
}
|
||||
|
||||
$dbForProject->updateDocument('attributes', $db->getInternalId() . '_' . $collection->getInternalId() . '_' . $key, $attribute);
|
||||
$dbForProject->deleteCachedDocument('database_' . $db->getInternalId(), $collectionId);
|
||||
$dbForProject->deleteCachedDocument('database_' . $db->getInternalId(), $collection->getId());
|
||||
|
||||
$events
|
||||
->setContext('collection', $collection)
|
||||
|
|
Loading…
Reference in a new issue