feat: Implement update folder API endpoint

This commit is contained in:
Faruk AYDIN
2025-01-28 11:49:15 +01:00
parent 28f392aa20
commit ac74936ee5
5 changed files with 142 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
const updateFolderMock = async (flow) => {
const data = {
id: flow.id,
name: flow.name,
createdAt: flow.createdAt.getTime(),
updatedAt: flow.updatedAt.getTime(),
};
return {
data: data,
meta: {
count: 1,
currentPage: null,
isArray: false,
totalPages: null,
type: 'Folder',
},
};
};
export default updateFolderMock;