Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions lib/private/OCM/Model/OCMProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,7 @@ private function looksValid(): bool {
* name: string,
* shareTypes: list<string>,
* protocols: array<string, string>
* }>,
* version: string
* }>
* }
*/
public function jsonSerialize(): array {
Expand All @@ -233,8 +232,7 @@ public function jsonSerialize(): array {

return [
'enabled' => $this->isEnabled(),
'apiVersion' => '1.0-proposal1', // deprecated, but keep it to stay compatible with old version
'version' => $this->getApiVersion(), // informative but real version
'apiVersion' => '1.0-proposal1', // Does not reflect reality, but must be kept untill Nextcloud 28 is no longer a concern.
'endPoint' => $this->getEndPoint(),
'publicKey' => $this->getSignatory()?->jsonSerialize(),
'resourceTypes' => $resourceTypes
Expand Down
228 changes: 14 additions & 214 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vitest": "^3.1.2",
"vue-loader": "^15.11.1",
"vue-loader": "^17.4.2",
"vue-template-compiler": "^2.7.16",
"wait-on": "^8.0.3",
"webpack": "^5.99.7",
Expand Down