Skip to content

Commit

Permalink
docs(rest-api): fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
m0r1m0 authored and kettanaito committed Mar 8, 2021
1 parent 35566df commit ab89857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/getting-started/mocks/rest-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ import { rest } from 'msw'
export const handlers = [
rest.post('/login', (req, res, ctx) => {
// Persist user's authentication in the session
sessionStorage.setItem('is-authenticated', true)
sessionStorage.setItem('is-authenticated', 'true')

return res(
// Respond with a 200 status code
Expand Down

0 comments on commit ab89857

Please sign in to comment.