chore: comment in Outage.Report (#5955)

This commit is contained in:
Peter Dave Hello
2020-10-20 15:23:56 +01:00
committed by GitHub
parent ae6c7c5d1b
commit 316d680194
+1 -1
View File
@@ -4,7 +4,7 @@ const baseUrl = 'https://outage.report/';
module.exports = async (ctx) => {
const serviceName = ctx.params.name; // Which service do you want to monitor? Have to be the same as what it appears in URL.
const watchCount = ctx.params.count || 10; // How many reports is received during last 20 minutes? 20 reports as default.
const watchCount = ctx.params.count || 10; // How many reports is received during last 20 minutes? 10 reports as default.
const URL = `${baseUrl}${serviceName}`;
const response = await got({
method: 'get',