Skip to content

Commit

Permalink
lint & format
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Mar 7, 2024
1 parent 0087060 commit acf6876
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions lib/zone.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ class Zone {
}

return await Mysql.execute(
...Mysql.insert(
`nt_zone`,
mapToDbColumn(args, zoneDbMap),
),
...Mysql.insert(`nt_zone`, mapToDbColumn(args, zoneDbMap)),
)
}

Expand Down Expand Up @@ -72,10 +69,10 @@ class Zone {
}

async delete(args) {
await Mysql.execute(
`UPDATE nt_zone SET deleted=? WHERE nt_zone_id=?`,
[args.deleted ?? 1, args.id],
)
await Mysql.execute(`UPDATE nt_zone SET deleted=? WHERE nt_zone_id=?`, [
args.deleted ?? 1,
args.id,
])
return true
}

Expand Down

0 comments on commit acf6876

Please sign in to comment.