From 3f1de0b34a35ad7da9a7a42d6326f25ffd4d43b7 Mon Sep 17 00:00:00 2001 From: hamza221 Date: Mon, 25 Sep 2023 13:10:55 +0200 Subject: [PATCH] fixup! feat: delete tags Signed-off-by: hamza221 --- appinfo/routes.php | 2 +- src/components/DeleteTagModal.vue | 16 +++++++++++----- src/components/TagModal.vue | 11 +++++------ src/service/MessageService.js | 4 ++-- src/store/mutations.js | 4 ++++ tests/Unit/Service/MailManagerTest.php | 8 ++++++++ 6 files changed, 31 insertions(+), 14 deletions(-) diff --git a/appinfo/routes.php b/appinfo/routes.php index 42705a6202..9c714c55c1 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -132,7 +132,7 @@ ], [ 'name' => 'tags#delete', - 'url' => '/api/tags/{id}/tags/{accountId}', + 'url' => '/api/tags/{accountId}/delete/{id}', 'verb' => 'DELETE' ], [ diff --git a/src/components/DeleteTagModal.vue b/src/components/DeleteTagModal.vue index bb903c97e9..ab8d266368 100644 --- a/src/components/DeleteTagModal.vue +++ b/src/components/DeleteTagModal.vue @@ -1,7 +1,7 @@