Skip to content

Commit

Permalink
Update Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Jun 21, 2024
1 parent a88743c commit 679e539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/routes/connection-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export default async function router(schema: Schema, config: Config) {
if (req.body.data) {
const data = await config.models.Data.from(req.body.data);

let modifier = layer.data === req.body.data ? 0 : 1;
const modifier = layer.data === req.body.data ? 0 : 1;

if (data.mission_diff && await config.models.Layer.count({
where: sql`data = ${req.body.data}`
Expand Down

0 comments on commit 679e539

Please sign in to comment.