Commit 9d3fd64 1 parent d673602 commit 9d3fd64 Copy full SHA for 9d3fd64
File tree 2 files changed +3
-1
lines changed
app/(dynamic-pages)/(login-pages)/auth/callback
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ export async function GET(request: Request) {
26
26
// HACK_ALERT!!!
27
27
// cookie is probably set on 'next.digger.dev' we have to change it to `.digger.dev`
28
28
const cookieKey = `sb-${ process . env . SUPABASE_PROJECT_REF } -auth-token` ;
29
- const cookieValue = cookies ( ) . get ( cookieKey ) ?. value ;
30
29
const cookieStore = cookies ( ) ;
31
30
const currentCookieValue = cookieStore . get ( cookieKey ) ?. value ;
32
31
// get domain of current reques
Original file line number Diff line number Diff line change 1
1
'use server' ;
2
2
3
3
import { createSupabaseUserServerComponentClient } from '@/supabase-clients/user/createSupabaseUserServerComponentClient' ;
4
+ import { revalidatePath } from 'next/cache' ;
4
5
5
6
export async function getRepoDetails ( repoId : number ) {
6
7
const supabaseClient = createSupabaseUserServerComponentClient ( ) ;
@@ -28,5 +29,7 @@ export async function getOrganizationRepos(organizationId: string) {
28
29
throw error ;
29
30
}
30
31
32
+ revalidatePath ( `/org/${ organizationId } /projects/create` , 'page' ) ;
33
+
31
34
return data ;
32
35
}
You can’t perform that action at this time.
0 commit comments