Skip to content

Commit

Permalink
NON-248: Removed unnecessary variable in non-associations util
Browse files Browse the repository at this point in the history
  • Loading branch information
xoen committed Sep 29, 2023
1 parent 8954ec7 commit c76d6d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,7 @@ export const neurodiversityEnabled = (agencyId: string): boolean => {
}

export const nonAssociationsEnabled = (agencyId: string): boolean => {
const isEnabled = config.nonAssociationsPrisons?.includes(agencyId)
return isEnabled
return config.nonAssociationsPrisons?.includes(agencyId)
}

export const stripAgencyPrefix = (location: string, agency: string): string => {
Expand Down

0 comments on commit c76d6d3

Please sign in to comment.