Skip to content

Commit

Permalink
rename endpoint, use strict equal
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tco committed Sep 6, 2023
1 parent 11fe10d commit 5e93f1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/admin/src/services/SuperAdminService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const getUserById = async (id: string, userToken: string) => {

export const getUserFromJwt = async (userToken: string) => {
const response = await axios.get<User>(
`${serverRuntimeConfig.userServiceHost}/user`,
`${serverRuntimeConfig.userServiceHost}/userFromJwt`,
axiosUserServiceConfig(userToken)
);
return response.data;
Expand Down
2 changes: 1 addition & 1 deletion packages/applicant/src/pages/index.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function HomePage({ loginUrl, registerUrl, oneLoginEnabled }: HomePageProps) {
funding organisations make a decision about who to award funding
to.
</p>
{oneLoginEnabled == 'true' ? (
{oneLoginEnabled === 'true' ? (
<>
<p className="govuk-body">
You use GOV.UK One Login to sign into Find a grant. If you do
Expand Down

0 comments on commit 5e93f1e

Please sign in to comment.