refactor(client): ♻️ rename argument to be more meaningful
This commit is contained in:
parent
b61220ecd2
commit
3781d07a8c
|
@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue