Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bherr2 committed Nov 29, 2023
1 parent 4d26478 commit 72950a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/ccf-api/src/lib/middleware/database-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function createDatabase(token: string, options: CCFDatabaseOptions): Promise<CCF
hubmapDataUrl: '', // Do not use deprecated internal hubmap data loading
dataSources: options.dataSources.map(s =>
xConsortiaToken && typeof s === 'string' && (
(!xConsortiaToken.startsWith('SNT-') && s.endsWith('hubmap/rui_locations.jsonld'))
(!xConsortiaToken.startsWith('SNT-') && s.endsWith('hubmap/rui_locations.jsonld'))
|| (xConsortiaToken.startsWith('SNT-') && s.endsWith('sennet/rui_locations.jsonld'))
) ? `${s}?token=${xConsortiaToken}` : s)
});
Expand Down

0 comments on commit 72950a4

Please sign in to comment.