summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/drive/files/attached-notes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/drive/files/attached-notes.ts')
-rw-r--r--src/server/api/endpoints/drive/files/attached-notes.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/api/endpoints/drive/files/attached-notes.ts b/src/server/api/endpoints/drive/files/attached-notes.ts
index c1d828b05a..c9eeab58c5 100644
--- a/src/server/api/endpoints/drive/files/attached-notes.ts
+++ b/src/server/api/endpoints/drive/files/attached-notes.ts
@@ -30,6 +30,13 @@ export const meta = {
}
},
+ res: {
+ type: 'array',
+ items: {
+ type: 'Note',
+ },
+ },
+
errors: {
noSuchFile: {
message: 'No such file.',