Skip to content

Commit

Permalink
fix: Update userJWT -> bearerAuth
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Sep 19, 2023
1 parent db5506b commit 8c2a374
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion api.planx.uk/admin/feedback/downloadFeedbackCSV.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type ParsedFeedback = Feedback & {
* tags:
* - admin
* security:
* - userJWT: []
* - bearerAuth: []
*/
export const downloadFeedbackCSV = async (
req: Request,
Expand Down
2 changes: 1 addition & 1 deletion api.planx.uk/admin/session/bops.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { getClient } from "../../client";
* parameters:
* - $ref: '#/components/parameters/sessionId'
* security:
* - userJWT: []
* - bearerAuth: []
*/
export const getBOPSPayload = async (
req: Request,
Expand Down
4 changes: 2 additions & 2 deletions api.planx.uk/admin/session/csv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { getClient } from "../../client";
* required: false
* description: If a CSV file should be downloaded, or its raw data returned
* security:
* - userJWT: []
* - bearerAuth: []
*/
export async function getCSVData(
req: Request,
Expand Down Expand Up @@ -62,7 +62,7 @@ export async function getCSVData(
* required: false
* description: If a CSV file should be downloaded, or its raw data returned
* security:
* - userJWT: []
* - bearerAuth: []
*/
export async function getRedactedCSVData(
req: Request,
Expand Down
4 changes: 2 additions & 2 deletions api.planx.uk/admin/session/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type HTMLExportHandler = RequestHandler<{ sessionId: string }, string>;
* parameters:
* - $ref: '#/components/parameters/sessionId'
* security:
* - userJWT: []
* - bearerAuth: []
*/
export const getHTMLExport: HTMLExportHandler = async (req, res, next) => {
try {
Expand Down Expand Up @@ -53,7 +53,7 @@ export const getHTMLExport: HTMLExportHandler = async (req, res, next) => {
* parameters:
* - $ref: '#/components/parameters/sessionId'
* security:
* - userJWT: []
* - bearerAuth: []
*/
export const getRedactedHTMLExport: HTMLExportHandler = async (
req,
Expand Down
2 changes: 1 addition & 1 deletion api.planx.uk/admin/session/oneAppXML.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { adminGraphQLClient as client } from "../../hasura";
* parameters:
* - $ref: '#/components/parameters/sessionId'
* security:
* - userJWT: []
* - bearerAuth: []
*/
export const getOneAppXML = async (
req: Request,
Expand Down
2 changes: 1 addition & 1 deletion api.planx.uk/admin/session/summary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { Breadcrumb, Flow, LowCalSession, Passport, Team } from "../../types";
* parameters:
* - $ref: '#/components/parameters/sessionId'
* security:
* - userJWT: []
* - bearerAuth: []
*/
export async function getSessionSummary(
req: Request,
Expand Down
2 changes: 1 addition & 1 deletion api.planx.uk/admin/session/zip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { buildSubmissionExportZip } from "../../send/exportZip";
* required: false
* description: If the OneApp XML file should be included in the zip
* security:
* - userJWT: []
* - bearerAuth: []
*/
export async function generateZip(
req: Request,
Expand Down
2 changes: 1 addition & 1 deletion api.planx.uk/modules/misc/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ paths:
tags:
- misc
security:
- userJWT: []
- bearerAuth: []
responses:
'200':
description: OK
Expand Down

0 comments on commit 8c2a374

Please sign in to comment.