From a1fd52d8abf972d3b5a0c5e9de368a3003eb3759 Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Sun, 13 Feb 2022 19:47:34 +0100 Subject: [PATCH] fix param description of updateNotePermissions Signed-off-by: Yannick Bungers --- src/permissions/permissions.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/permissions/permissions.service.ts b/src/permissions/permissions.service.ts index b7ac3b544..4bb43c012 100644 --- a/src/permissions/permissions.service.ts +++ b/src/permissions/permissions.service.ts @@ -151,7 +151,7 @@ export class PermissionsService { * @async * Update a notes permissions. * @param {Note} note - the note - * @param {NotePermissionsUpdateDto} newPermissions - the permissions the not should be set to + * @param {NotePermissionsUpdateDto} newPermissions - the permissions that should be applied to the note * @return {Note} the note with the new permissions * @throws {NotInDBError} there is no note with this id or alias * @throws {PermissionsUpdateInconsistentError} the new permissions specify a user or group twice.