Skip to content

Commit

Permalink
📉 Call API to submit data
Browse files Browse the repository at this point in the history
  • Loading branch information
Maseshi committed May 3, 2024
1 parent 0dc0067 commit 37f9849
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/utils/servicesUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const systemMetricsSubmitter = () => {
child.info('Sending system matrix data to status page...')

const submitPoint = async (count) => {
count++
++count

if (count > totalPoints)
return child.info('Done, the matrix has been updated.')
Expand Down Expand Up @@ -104,6 +104,8 @@ const systemMetricsSubmitter = () => {
}
}
}

submitPoint(0)
}

/**
Expand Down

0 comments on commit 37f9849

Please sign in to comment.