mirror of
https://github.com/cupcakearmy/ora.git
synced 2025-09-05 15:50:40 +00:00
fiex update function
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
}
|
||||
|
||||
async function save() {
|
||||
await Limits.update({ host: limit.host }, limit, { upsert: true })
|
||||
const { _id, ...rest } = limit
|
||||
await Limits.update({ _id }, rest, { upsert: true })
|
||||
dispatch('update')
|
||||
close()
|
||||
}
|
||||
|
Reference in New Issue
Block a user