mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Fix various ESLint errors in services
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
f20c2f06e0
commit
cc1ca69bc1
4 changed files with 11 additions and 6 deletions
|
@ -299,7 +299,7 @@ export class NotesService {
|
|||
* @param {Note} note - the note to use
|
||||
* @return {NotePermissionsDto} the built NotePermissionDto
|
||||
*/
|
||||
toNotePermissionsDto(note: Note): Promise<NotePermissionsDto> {
|
||||
toNotePermissionsDto(note: Note): NotePermissionsDto {
|
||||
return {
|
||||
owner: this.usersService.toUserDto(note.owner),
|
||||
sharedToUsers: note.userPermissions.map((noteUserPermission) => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue