From eb6a244bc8124c05ab5da00082b5e2ff9332c45a Mon Sep 17 00:00:00 2001 From: Robin Goupil Date: Fri, 20 May 2022 13:31:48 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alexandre BODIN --- packages/core/database/lib/lifecycles/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/database/lib/lifecycles/index.js b/packages/core/database/lib/lifecycles/index.js index a784b0d093..ee8b3a3413 100644 --- a/packages/core/database/lib/lifecycles/index.js +++ b/packages/core/database/lib/lifecycles/index.js @@ -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} 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} states */ async run(action, uid, properties, states = new Map()) {