ignore: cloud
parent
bce1398b73
commit
63c7c921ed
|
|
@ -1,3 +1,4 @@
|
|||
import { redirect } from "@solidjs/router"
|
||||
import type { APIEvent } from "@solidjs/start/server"
|
||||
import { AuthClient, useAuthSession } from "~/context/auth"
|
||||
|
||||
|
|
@ -25,7 +26,5 @@ export async function GET(input: APIEvent) {
|
|||
current: id,
|
||||
}
|
||||
})
|
||||
return {
|
||||
result,
|
||||
}
|
||||
return redirect("/")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue