Skip to content

Commit

Permalink
fixes mock response
Browse files Browse the repository at this point in the history
  • Loading branch information
e-for-eshaan committed May 23, 2024
1 parent 05e7876 commit 69fc3cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const endpoint = new Endpoint(pathSchema);

endpoint.handle.GET(nullSchema, async (req, res) => {
if (req.meta?.features?.use_mock_data) {
return res.send([1, 2, 3].map(() => uuid()));
return res.send([uuid(), uuid()]);
}

res.send(await getBookmarkedRepos(req.payload.team_id));
Expand Down

0 comments on commit 69fc3cc

Please sign in to comment.