From 3781d07a8c83b38cc1ba01274640f3037f8867fd Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Tue, 25 Jun 2024 16:02:57 +0200 Subject: [PATCH] refactor(client): :recycle: rename argument to be more meaningful --- client/src/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/utils.js b/client/src/utils.js index 4205481..25a2143 100644 --- a/client/src/utils.js +++ b/client/src/utils.js @@ -36,12 +36,12 @@ export function getEndpoint() { /** * Set robot endpoint address. * - * @param {string} ip Robot ip. + * @param {string} endpoint Robot endpoint. * * @returns {void} */ -export function setEndpoint(ip) { - sessionStorage.setItem('robot-endpoint', ip) +export function setEndpoint(endpoint) { + sessionStorage.setItem('robot-endpoint', endpoint) } /**