mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-23 22:12:24 +03:00
Clean Mock Requests
This commit is contained in:
parent
6cb5d3f19d
commit
8aa20a3436
@ -26,18 +26,6 @@ export const graphqlMocks = {
|
|||||||
return HttpResponse.json({
|
return HttpResponse.json({
|
||||||
data: {
|
data: {
|
||||||
currentUser: mockedUsersData[0],
|
currentUser: mockedUsersData[0],
|
||||||
views: {
|
|
||||||
edges: mockedViewsData.map((view) => ({
|
|
||||||
node: view,
|
|
||||||
cursor: null,
|
|
||||||
})),
|
|
||||||
pageInfo: {
|
|
||||||
hasNextPage: false,
|
|
||||||
hasPreviousPage: false,
|
|
||||||
startCursor: null,
|
|
||||||
endCursor: null,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user