mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-15 01:49:10 +00:00
chore: prettier Server
This commit is contained in:
parent
d08c9e4829
commit
5119e1142c
5 changed files with 16 additions and 16 deletions
|
@ -2,7 +2,7 @@ const ksuid = require('ksuid')
|
|||
|
||||
module.exports = {
|
||||
ksuid(field = 'id') {
|
||||
return async function() {
|
||||
return async function () {
|
||||
this.id = await ksuid.random()
|
||||
return this
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue