1
0

Merge tag '2024.11.0' into feature/2024.10

This commit is contained in:
dakkar
2024-11-22 12:29:04 +00:00
234 changed files with 6612 additions and 4634 deletions
@@ -42,6 +42,17 @@ export class GetterService {
return note;
}
@bindThis
public async getNoteWithUser(noteId: MiNote['id']) {
const note = await this.notesRepository.findOne({ where: { id: noteId }, relations: ['user'] });
if (note == null) {
throw new IdentifiableError('9725d0ce-ba28-4dde-95a7-2cbb2c15de24', 'No such note.');
}
return note;
}
/**
* Get note for API processing
*/