Skip to content

Commit

Permalink
Use uuid v4 with named import
Browse files Browse the repository at this point in the history
issue: BB-585
  • Loading branch information
KillianG committed Nov 5, 2024
1 parent 58710fc commit eaf94e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/models/ActionQueueEntry.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const uuid = require('uuid/v4');
const { v4 } = require('uuid');

const errors = require('arsenal').errors;

Expand Down Expand Up @@ -52,7 +52,7 @@ class ActionQueueEntry {
*/
static create(actionType) {
return new ActionQueueEntry({
actionId: uuid(),
actionId: v4(),
action: actionType,
});
}
Expand Down

0 comments on commit eaf94e9

Please sign in to comment.