feat : update project get all
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
|
||||
|
||||
export const funGetAllProject = async (path?: string) => {
|
||||
const response = await fetch(`/api/project${(path) ? path : ''}`, { next: { tags: ['project'] } });
|
||||
return await response.json().catch(() => null);
|
||||
}
|
||||
Reference in New Issue
Block a user