diff --git a/docker/kratos/oathkeeper/access-rules.yml b/docker/kratos/oathkeeper/access-rules.yml index 81b2efb7..3a71f2d0 100644 --- a/docker/kratos/oathkeeper/access-rules.yml +++ b/docker/kratos/oathkeeper/access-rules.yml @@ -42,6 +42,9 @@ methods: - GET - POST + - PUT + - DELETE + - PATCH authenticators: - handler: cookie_session authorizer: @@ -67,6 +70,8 @@ - GET - POST - PUT + - DELETE + - PATCH authenticators: - handler: cookie_session authorizer: diff --git a/packages/dashboard/src/pages/payments.js b/packages/dashboard/src/pages/payments.js index 628b780f..112f84a1 100644 --- a/packages/dashboard/src/pages/payments.js +++ b/packages/dashboard/src/pages/payments.js @@ -1,4 +1,3 @@ -import dayjs from "dayjs"; import Layout from "../components/Layout"; import useSWR from "swr"; import ky from "ky/umd"; @@ -35,7 +34,7 @@ const fetcher = (url) => fetch(url).then((r) => r.json()); const ActiveBadge = () => { return ( - + active );