10 lines
281 B
TypeScript
10 lines
281 B
TypeScript
import { apiFetch, jsonResponse } from '../../../_lib/api';
|
|
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
export async function GET(): Promise<Response> {
|
|
const res = await apiFetch('/groups/shared-by-me');
|
|
const body = await res.json();
|
|
return jsonResponse(body, res.status);
|
|
}
|