feat(api): add create folder endpoint for users
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
const createFolderMock = 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 createFolderMock;
|
||||
Reference in New Issue
Block a user