Fix lint.

This commit is contained in:
Sam Rose 2024-04-08 11:06:43 +01:00
parent 5334c5ba9a
commit c30cc06d47
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -49,7 +49,6 @@ export async function save(
builderSocket?.emitDatasourceUpdate(ctx, datasource) builderSocket?.emitDatasourceUpdate(ctx, datasource)
return table return table
} catch (err: any) { } catch (err: any) {
throw err
if (err instanceof Error) { if (err instanceof Error) {
ctx.throw(400, err.message) ctx.throw(400, err.message)
} else { } else {