Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nickviola committed Dec 1, 2023
1 parent 451592e commit aae3a91
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions backend/src/api/organizations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ export const getByRegionId = wrapHandler(async (event) => {
body: JSON.stringify(result)
};
}
return NotFound;
return NotFound;
});

/**
Expand Down Expand Up @@ -753,7 +753,7 @@ export const getByState = wrapHandler(async (event) => {
body: JSON.stringify(result)
};
}
return NotFound;
return NotFound;
});

//V2 Endpoints
Expand All @@ -765,23 +765,23 @@ export const getByState = wrapHandler(async (event) => {
* get:
* description: List all organizations with query parameters.
* tags:
* - Users
* - Users
* parameters:
* - in: query
* name: state
* required: false
* 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;
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit aae3a91

Please sign in to comment.