Created
November 30, 2021 00:58
-
-
Save harada-shota/d2bcf4617e930a20691aaa96c39360f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server.use( | |
rest.get( | |
`/v1/restaurants`, | |
async (_req, res, ctx) => { | |
return res(ctx.status(200), ctx.json(anotherResponseData)); | |
} | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment