Skip to content

Commit 4390afe

Browse files
committed
Import createClient in collaborators route
Added the import of createClient from @/lib/database in the project collaborators API route. This prepares the file for potential usage of createClient.
1 parent 3e23bac commit 4390afe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/api/projects/[id]/collaborators

app/api/projects/[id]/collaborators/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NextResponse } from "next/server"
22
import { createServerSupabaseClient } from "@/lib/database/supabase-server"
3-
import { getProjectCollaborators, removeProjectCollaborator } from "@/lib/database"
3+
import { createClient, getProjectCollaborators, removeProjectCollaborator } from "@/lib/database"
44

55
// GET /api/projects/[id]/collaborators - List collaborators for a project
66
export async function GET(

0 commit comments

Comments
 (0)