Update Types

This commit is contained in:
Benjamin Toby 2024-08-15 13:14:20 +01:00
parent e0890a8f0e
commit e3bbc2c2e3

View File

@ -33,7 +33,7 @@ const localUpdateUser = require("../engine/user/update-user");
* @param {object} params - API Key
* @param {String} params.key - API Key
* @param {String} params.database - Target Database
* @param {{ id: number }} params.payload - User Object
* @param {{ id: number } & Object.<string, *>} params.payload - User Object: ID is required
*
* @returns { Promise<FunctionReturn>}
*/