Fix lint.
This commit is contained in:
parent
5334c5ba9a
commit
c30cc06d47
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue