Use static object id

master
garrettmills 4 years ago
parent 8479be04a0
commit 97612021bf
No known key found for this signature in database
GPG Key ID: 6ACD58D6ADACFC6E

@ -45,7 +45,7 @@ class KeyAction extends Model {
return {
key: { type: String, default: uuid },
secret: { type: String, default: uuid },
user_id: ObjectId,
user_id: this.ObjectId,
handler: String,
created: { type: Date, default: () => new Date },
expires: {

Loading…
Cancel
Save