mirror of
https://github.com/roleypoly/roleypoly-v1.git
synced 2025-06-16 18:29:08 +00:00
chore: remove semi
This commit is contained in:
parent
4b75eaa0ab
commit
8fcc0dcbf9
64 changed files with 1073 additions and 1073 deletions
|
@ -1,10 +1,10 @@
|
|||
const ksuid = require('ksuid');
|
||||
const ksuid = require('ksuid')
|
||||
|
||||
module.exports = {
|
||||
ksuid(field = 'id') {
|
||||
return async function() {
|
||||
this.id = await ksuid.random();
|
||||
return this;
|
||||
};
|
||||
this.id = await ksuid.random()
|
||||
return this
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue