diff --git a/backend/src/api/organizations.ts b/backend/src/api/organizations.ts index 90361b1a0..e5c395c1e 100644 --- a/backend/src/api/organizations.ts +++ b/backend/src/api/organizations.ts @@ -723,7 +723,7 @@ export const getByRegionId = wrapHandler(async (event) => { body: JSON.stringify(result) }; } - return NotFound; + return NotFound; }); /** @@ -753,7 +753,7 @@ export const getByState = wrapHandler(async (event) => { body: JSON.stringify(result) }; } - return NotFound; + return NotFound; }); //V2 Endpoints @@ -765,7 +765,7 @@ export const getByState = wrapHandler(async (event) => { * get: * description: List all organizations with query parameters. * tags: - * - Users + * - Users * parameters: * - in: query * name: state @@ -773,15 +773,15 @@ export const getByState = wrapHandler(async (event) => { * schema: * type: array * items: - * type: string + * type: string * - in: query * name: regionId * required: false * schema: * type: array * items: - * type: string - * + * type: string + * */ export const getAllV2 = wrapHandler(async (event) => { if (!isRegionalAdmin(event)) return Unauthorized; @@ -912,7 +912,7 @@ export const addUserV2 = wrapHandler(async (event) => { approved: true, role: body.role, approvedBy: event.requestContext.authorizer!.id, - createdBy: event.requestContext.authorizer!.id + createdBy: event.requestContext.authorizer!.id }; // Add a role to make association to user/organization