diff --git a/projects/ccf-api/src/lib/middleware/database-loader.ts b/projects/ccf-api/src/lib/middleware/database-loader.ts index d87582541..abc2d8aee 100644 --- a/projects/ccf-api/src/lib/middleware/database-loader.ts +++ b/projects/ccf-api/src/lib/middleware/database-loader.ts @@ -48,7 +48,7 @@ function createDatabase(token: string, options: CCFDatabaseOptions): Promise 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) });