mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-13 11:03:49 +00:00
refactor: add issue ids to TODOs
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { SupabaseClient } from '@supabase/supabase-js';
|
||||
|
||||
export async function signOut(supabase: SupabaseClient, callback: () => void) {
|
||||
// TODO use the error from the response
|
||||
export async function signOut(supabase: SupabaseClient, callback: () => void): Promise<void> {
|
||||
// TODO - #61 use the error from the response
|
||||
const { error } = await supabase.auth.signOut().then(callback);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user