refactor(client): ♻️ rename argument to be more meaningful

This commit is contained in:
Julien Oculi 2024-06-25 16:02:57 +02:00
parent b61220ecd2
commit 3781d07a8c

View file

@ -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)
}
/**