chore: prettier on server

This commit is contained in:
Katie Thornhill 2019-11-19 23:02:54 -05:00
parent 3b0d249e41
commit 912b40c383
No known key found for this signature in database
GPG key ID: F76EDC6541A99644
21 changed files with 589 additions and 501 deletions

View file

@ -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
}
}
}
ksuid(field = 'id') {
return async function() {
this.id = await ksuid.random();
return this;
};
},
};