From e3bbc2c2e391eb9f281bb0c5c6f46ebbee03a503 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Thu, 15 Aug 2024 13:14:20 +0100 Subject: [PATCH] Update Types --- users/update-user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/update-user.js b/users/update-user.js index 6012c6b..39b2077 100644 --- a/users/update-user.js +++ b/users/update-user.js @@ -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.} params.payload - User Object: ID is required * * @returns { Promise} */