Merge pull request #15975 from supabase/hotfix/authorize-redirect-on-approve

Fix authorize redirect
This commit is contained in:
Joshen Lim authored and GitHub committed 2023-07-24 10:53:57 +08:00
commit 59aa0f79bc
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ const APIAuthorizationPage: NextPageWithLayout = () => {
const { mutate: approveRequest, isLoading: isApproving } = useApiAuthorizationApproveMutation({
onSuccess: (res) => {
router.push(res.url)
window.location.href = res.url
},
})
const { mutate: declineRequest, isLoading: isDeclining } = useApiAuthorizationDeclineMutation({