mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
sync
This commit is contained in:
parent
5510d5a1c4
commit
3d541ac480
11 changed files with 108 additions and 42 deletions
|
@ -30,12 +30,12 @@ class ServerService extends Service {
|
|||
return srv.update(newData)
|
||||
}
|
||||
|
||||
get (id) {
|
||||
return this.Server.findOne({
|
||||
async get (id) {
|
||||
return (await this.Server.findOne({
|
||||
where: {
|
||||
id
|
||||
}
|
||||
})
|
||||
})).get({ plain: true })
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue