mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-03-21 17:54:09 -05:00
Fix admin hack approval not working
This commit is contained in:
parent
ace34c4408
commit
3817889f7d
|
|
@ -320,7 +320,7 @@ export async function approveHack(slug: string, verified?: boolean) {
|
|||
}
|
||||
|
||||
// Approve the hack
|
||||
const { error: updateErr } = await serviceClient
|
||||
const { error: updateErr } = await supabase
|
||||
.from("hacks")
|
||||
.update({
|
||||
approved: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user