The admin functionality related code has been removed which includes various user and organization functionalities like delete, update, ban etc. This includes action logic, UI components and supportive utility functions. Notable deletions include the server action files, dialog components for actions like banning and deleting, and related utility functions. This massive cleanup is aimed at simplifying the codebase and the commit reflects adherence to project restructuring.
13 lines
327 B
TypeScript
13 lines
327 B
TypeScript
'use server';
|
|
|
|
import { getSupabaseServerActionClient } from '@kit/supabase/server-actions-client';
|
|
|
|
/**
|
|
* Refreshes the user session on the server when updating the user profile.
|
|
*/
|
|
export async function refreshSessionAction() {
|
|
const supabase = getSupabaseServerActionClient();
|
|
|
|
await supabase.auth.refreshSession();
|
|
}
|