mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
fix: update the permission for viewing provider pages
This commit is contained in:
@@ -12,7 +12,7 @@ import { getProviderConnectionAccess } from "@/lib/providers/connectionAccess";
|
||||
*/
|
||||
export async function POST(request) {
|
||||
try {
|
||||
const { user } = await getProviderConnectionAccess();
|
||||
const { user } = await getProviderConnectionAccess(request);
|
||||
const { accessToken, name } = await request.json();
|
||||
|
||||
if (!accessToken || typeof accessToken !== "string") {
|
||||
|
||||
Reference in New Issue
Block a user