From 855e0897f3fa79cc2eaea6fa5c3b3a48afa55323 Mon Sep 17 00:00:00 2001 From: Maxime Cannoodt Date: Mon, 21 Nov 2022 21:51:45 +0100 Subject: [PATCH] Share noteid after post --- plugin | 2 +- server/src/controllers/note/note.post.controller.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin b/plugin index 961634c..d54b424 160000 --- a/plugin +++ b/plugin @@ -1 +1 @@ -Subproject commit 961634c1c45c1e3227617eac0700a9d0b1cf6417 +Subproject commit d54b424dd6aafdaa18e1dc25915c6684825aa2f0 diff --git a/server/src/controllers/note/note.post.controller.ts b/server/src/controllers/note/note.post.controller.ts index b85579e..d94e5bd 100644 --- a/server/src/controllers/note/note.post.controller.ts +++ b/server/src/controllers/note/note.post.controller.ts @@ -71,6 +71,7 @@ export async function postNoteController( view_url: `${process.env.FRONTEND_URL}/note/${savedNote.id}`, expire_time: savedNote.expire_time, secret_token: savedNote.secret_token, + note_id: savedNote.id, }); }) .catch(async (err) => {