Optional VectorRS is gone

This commit is contained in:
Johannes Zellner
2024-03-01 13:37:41 +01:00
parent 35c5f19eac
commit eadc4fda30
5 changed files with 1 additions and 23 deletions

View File

@@ -51,11 +51,6 @@ async function configure(req, res, next) {
recoveryMode: req.body.recoveryMode || false
};
if (req.params.service === 'postgresql') {
if ('useVectorRsExtension' in req.body && typeof req.body.useVectorRsExtension !== 'boolean') return next(new HttpError(400, 'useVectorRsExtension must be boolean'));
data.useVectorRsExtension = !!req.body.useVectorRsExtension;
}
const [error] = await safe(services.configureService(req.params.service, data, AuditSource.fromRequest(req)));
if (error) return next(BoxError.toHttpError(error));