Skip to content

Commit

Permalink
fixup! feat(meetings): Add endpoint to get writable calendars and the…
Browse files Browse the repository at this point in the history
… default calendar
  • Loading branch information
nickvergessen committed Dec 11, 2024
1 parent 9941e9b commit 14dc6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getPersonalCalendars(): DataResponse {
continue;
}

if (!($calendar->getPermissions('principals/users/' . $this->userId) & Constants::PERMISSION_CREATE)) {
if (!($calendar->getPermissions() & Constants::PERMISSION_CREATE)) {
continue;
}

Expand Down

0 comments on commit 14dc6a7

Please sign in to comment.