From a9a5735338c7885e74af408e8d8d92481b1d99f0 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Wed, 14 Feb 2024 18:29:25 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20GET=20/api/v1/filters=20=E3=81=AE?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=82=92=E9=96=93=E9=81=95=E3=81=88=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=E3=81=AE=E3=81=A7=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/usbharu/hideout/application/config/SecurityConfig.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt b/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt index 7ecbbbe7..3bca0089 100644 --- a/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt +++ b/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt @@ -232,7 +232,7 @@ class SecurityConfig { authorize(GET, "/api/v1/filters", hasAnyScope("read", "read:filters")) authorize(POST, "/api/v1/filters", hasAnyScope("write", "write:filters")) - authorize(GET, "/api/v/filters/*", hasAnyScope("read", "read:filters")) + authorize(GET, "/api/v1/filters/*", hasAnyScope("read", "read:filters")) authorize(POST, "/api/v1/filters/*", hasAnyScope("write", "write:filters")) authorize(DELETE, "/api/v1/filters/*", hasAnyScope("write", "write:filters"))