Skip to content

Commit

Permalink
Make one change using new operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Roes committed Nov 15, 2019
1 parent 233ba79 commit b0e597e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RequestAdapter extends EventEmitter {
name,
startTime: Date.now(),
status: RequestStatus.PENDING,
id: _.get(params, 'id', uuid()),
id: params.id ?? uuid(),
};
this.requests.set(req.id, req);
this._onChange();
Expand Down

0 comments on commit b0e597e

Please sign in to comment.