provide note dates in the frontend API, fixes #4232

This commit is contained in:
zadam
2023-09-06 22:54:31 +02:00
parent 97d8b19868
commit d2263c68f8
4 changed files with 11 additions and 16 deletions

View File

@@ -970,6 +970,10 @@ class FNote {
isOptions() {
return this.noteId.startsWith("_options");
}
async getMetadata() {
return await server.get(`notes/${this.noteId}/metadata`);
}
}
export default FNote;