Skip to content

Commit

Permalink
Fixes BG-1041: Update registration-get endpoint (#2639)
Browse files Browse the repository at this point in the history
* Add apiEnv to end of registration-get route

* Update version of endpoint to v5
  • Loading branch information
Nenad Misic authored Jan 10, 2024
1 parent 33328f3 commit 7bff953
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/aws/registration/registration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
SubmitResult,
} from "types/aws";
import { adminTags } from "services/aws/tags";
import { apiEnv } from "services/constants";
import { logger } from "helpers";
import { TEMP_JWT } from "constants/auth";
import { EMAIL_SUPPORT } from "constants/env";
Expand All @@ -31,7 +32,7 @@ const registration_api = aws.injectEndpoints({
providesTags: [{ type: "admin", id: adminTags.registration }],
query: (uuid) => {
return {
url: "v1/registration",
url: `v5/registration/${apiEnv}`,
params: { uuid },
headers: { authorization: TEMP_JWT },
};
Expand Down

0 comments on commit 7bff953

Please sign in to comment.