refactor: consolidate imports in supabase API routes

change over to cloudflare.
This commit is contained in:
KevIsDev 2025-03-27 16:24:12 +00:00
parent 687b03ba74
commit 95dcd0261a
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,4 @@
import { json } from '@remix-run/node';
import type { ActionFunction } from '@remix-run/node';
import { json, type ActionFunction } from '@remix-run/cloudflare';
import type { SupabaseProject } from '~/types/supabase';
export const action: ActionFunction = async ({ request }) => {

View File

@ -1,5 +1,4 @@
import { json } from '@remix-run/node';
import type { ActionFunctionArgs } from '@remix-run/node';
import { json, type ActionFunctionArgs } from '@remix-run/node';
export async function action({ request }: ActionFunctionArgs) {
try {