mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2024-11-10 09:13:36 +08:00
style: fix lgtm lint
This commit is contained in:
parent
d3fdac61bd
commit
45244b4433
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ const api = require("./controller-api");
|
|||
const db = require("./db");
|
||||
|
||||
export default pingAll;
|
||||
const pingAll = async (network) => {
|
||||
async function pingAll (network) {
|
||||
await Promise.all(network.members.map((async (member) => {
|
||||
try {
|
||||
await api.get("peer/" + member.id);
|
||||
|
|
Loading…
Reference in a new issue