Skip to content

Commit

Permalink
Remove no longer needed mock /authenticated
Browse files Browse the repository at this point in the history
  • Loading branch information
markpatton committed Apr 22, 2024
1 parent 90b4532 commit 43d57e5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mirage/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,6 @@ export default function (config) {
};
});

/** Auth Service */
this.get('/authenticated', (schema, request) => {
const user = schema.find('user', 0);

return {
user: {
id: user.id,
},
};
});

/** User Service */
this.get('/pass-user-service/whoami', (schema, request) => {
const userId = request.queryParams.userToken;
Expand Down

0 comments on commit 43d57e5

Please sign in to comment.