Skip to content
Snippets Groups Projects
Commit bea462b8 authored by David Sehnal's avatar David Sehnal
Browse files

Fix servers build error

parent 5652fa55
No related branches found
No related tags found
No related merge requests found
...@@ -153,7 +153,7 @@ function getQueryParams(req: express.Request, isCell: boolean): Data.QueryParams ...@@ -153,7 +153,7 @@ function getQueryParams(req: express.Request, isCell: boolean): Data.QueryParams
const a = [+req.params.a1, +req.params.a2, +req.params.a3]; const a = [+req.params.a1, +req.params.a2, +req.params.a3];
const b = [+req.params.b1, +req.params.b2, +req.params.b3]; const b = [+req.params.b1, +req.params.b2, +req.params.b3];
const detail = Math.min(Math.max(0, (+req.query.detail) | 0), LimitsConfig.maxOutputSizeInVoxelCountByPrecisionLevel.length - 1); const detail = Math.min(Math.max(0, (+req.query.detail!) | 0), LimitsConfig.maxOutputSizeInVoxelCountByPrecisionLevel.length - 1);
const isCartesian = (req.query.space as string || '').toLowerCase() !== 'fractional'; const isCartesian = (req.query.space as string || '').toLowerCase() !== 'fractional';
const box: Data.QueryParamsBox = isCell const box: Data.QueryParamsBox = isCell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment