summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-28 14:39:46 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-28 14:39:46 +0900
commitceda2ca89661d1bd3889453997fe0868a8c31e9d (patch)
tree94a3a12fc7230abdd9f82d77188fec345dfaf9cd /src/server/api/endpoints.ts
parent:art: (diff)
downloadsharkey-ceda2ca89661d1bd3889453997fe0868a8c31e9d.tar.gz
sharkey-ceda2ca89661d1bd3889453997fe0868a8c31e9d.tar.bz2
sharkey-ceda2ca89661d1bd3889453997fe0868a8c31e9d.zip
Implement delete note
Diffstat (limited to 'src/server/api/endpoints.ts')
-rw-r--r--src/server/api/endpoints.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/api/endpoints.ts b/src/server/api/endpoints.ts
index 892da3540f..908d9574a5 100644
--- a/src/server/api/endpoints.ts
+++ b/src/server/api/endpoints.ts
@@ -495,6 +495,11 @@ const endpoints: Endpoint[] = [
kind: 'note-write'
},
{
+ name: 'notes/delete',
+ withCredential: true,
+ kind: 'note-write'
+ },
+ {
name: 'notes/renotes'
},
{