Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import type { ActionFunctionArgs } from "react-router";
|
||||
import { McpOAuthError, oauthJsonError, revokeEndpointFromRequest } from "~/services/mcp/oauth.server";
|
||||
|
||||
export async function action({ request }: ActionFunctionArgs) {
|
||||
try {
|
||||
return await revokeEndpointFromRequest(request);
|
||||
} catch (error) {
|
||||
if (error instanceof McpOAuthError) {
|
||||
return oauthJsonError(error.error, error.description, error.status);
|
||||
}
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user