mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-16 20:43:48 +00:00
Fixed outdated comment
This commit is contained in:
@@ -30,8 +30,7 @@ export const listServers = ({ listServers, createServers }, { get }) => () => as
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If local list is empty, try to fetch it remotely and calculate IDs for every server
|
// If local list is empty, try to fetch it remotely (making sure it's an array) and calculate IDs for every server
|
||||||
// It's important to parse the content to json, so that it is ignored for other formats (because it will catch)
|
|
||||||
const getDataAsArrayWithIds = pipe(
|
const getDataAsArrayWithIds = pipe(
|
||||||
prop('data'),
|
prop('data'),
|
||||||
(value) => {
|
(value) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user