mirror of
https://github.com/nextcloud/tables.git
synced 2025-08-18 08:19:08 +00:00
fix(Contexts): page format on create endpoint
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
@ -418,7 +418,7 @@ class ContextService {
|
|||||||
unset($addedPage['content'][$pageContent->getId()]['pageId']);
|
unset($addedPage['content'][$pageContent->getId()]['pageId']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$context->setPages($addedPage);
|
$context->setPages([$addedPage['id'] => $addedPage]);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function insertNodesFromArray(Context $context, array $nodes): void {
|
protected function insertNodesFromArray(Context $context, array $nodes): void {
|
||||||
|
Reference in New Issue
Block a user