Apply suggestions from code review

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
This commit is contained in:
Robin Goupil 2022-05-20 13:31:48 +02:00 committed by GitHub
parent b8ccb8800f
commit eb6a244bc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ const createLifecyclesProvider = db => {
/**
* @param {string} action
* @param {string} uid
* @param {{ param?: any, result?: any }} properties
* @param {{ params?: any, result?: any }} properties
* @param {Map<any, any>} state
*/
createEvent(action, uid, properties, state) {
@ -50,7 +50,7 @@ const createLifecyclesProvider = db => {
/**
* @param {string} action
* @param {string} uid
* @param {{ param?: any, result?: any }} properties
* @param {{ params?: any, result?: any }} properties
* @param {Map<any, any>} states
*/
async run(action, uid, properties, states = new Map()) {