Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Change "GET /explore" to "GET /explore.json" as that's what the calling
    script wants.
  • Loading branch information
Misterblue committed Oct 28, 2020
1 parent 708e245 commit cd3c1cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/routes/api/v1/user/connections.ts
Expand Up @@ -41,7 +41,7 @@ const procGetUserConnections: RequestHandler = async (req: Request, resp: Respon
};
}
else {
req.vRestResp.respondFailure('account token did not work');
req.vRestResp.respondFailure('unauthorized');
};
next();
};
Expand Down
9 changes: 5 additions & 4 deletions src/routes/explore.ts
Expand Up @@ -75,7 +75,8 @@ export const name = '/explore';

export const router = Router();

router.get( '/explore', [ setupMetaverseAPI, // req.vRESTResp
accountFromAuthToken, // req.vAuthToken, req.vAuthAccount
procGetExplore,
finishReturnData ] );
router.get( '/explore.json', [ setupMetaverseAPI, // req.vRESTResp
accountFromAuthToken, // req.vAuthToken, req.vAuthAccount
procGetExplore,
finishReturnData
] );

0 comments on commit cd3c1cf

Please sign in to comment.