From 46da5e51be43330d8f194186b50cd9b9b03dfa24 Mon Sep 17 00:00:00 2001 From: Matthew Nickson Date: Fri, 22 Apr 2022 19:10:13 +0100 Subject: [PATCH] Fix JSDoc grammar Signed-off-by: Matthew Nickson --- server/model/group.js | 2 +- server/model/heartbeat.js | 4 ++-- server/model/incident.js | 2 +- server/model/monitor.js | 2 +- server/model/proxy.js | 2 +- server/model/status_page.js | 4 ++-- server/model/tag.js | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/server/model/group.js b/server/model/group.js index f24fe99db..599b758bc 100644 --- a/server/model/group.js +++ b/server/model/group.js @@ -4,7 +4,7 @@ const { R } = require("redbean-node"); class Group extends BeanModel { /** - * Return a object that ready to parse to JSON for public + * Return an object that ready to parse to JSON for public * Only show necessary data to public * @param {boolean} [showTags=false] Should the JSON include monitor tags * @returns {Object} diff --git a/server/model/heartbeat.js b/server/model/heartbeat.js index 38ba6f46a..a0b40d08e 100644 --- a/server/model/heartbeat.js +++ b/server/model/heartbeat.js @@ -14,7 +14,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model"); class Heartbeat extends BeanModel { /** - * Return a object that ready to parse to JSON for public + * Return an object that ready to parse to JSON for public * Only show necessary data to public * @returns {Object} */ @@ -28,7 +28,7 @@ class Heartbeat extends BeanModel { } /** - * Return a object that ready to parse to JSON + * Return an object that ready to parse to JSON * @returns {Object} */ toJSON() { diff --git a/server/model/incident.js b/server/model/incident.js index e28478f77..f954cc74a 100644 --- a/server/model/incident.js +++ b/server/model/incident.js @@ -3,7 +3,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model"); class Incident extends BeanModel { /** - * Return a object that ready to parse to JSON for public + * Return an object that ready to parse to JSON for public * Only show necessary data to public * @returns {Object} */ diff --git a/server/model/monitor.js b/server/model/monitor.js index 60c984f31..e1a2b80bf 100644 --- a/server/model/monitor.js +++ b/server/model/monitor.js @@ -41,7 +41,7 @@ class Monitor extends BeanModel { } /** - * Return a object that ready to parse to JSON + * Return an object that ready to parse to JSON * @returns {Object} */ async toJSON(includeSensitiveData = true) { diff --git a/server/model/proxy.js b/server/model/proxy.js index 34a55d2fe..4517b11bf 100644 --- a/server/model/proxy.js +++ b/server/model/proxy.js @@ -2,7 +2,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model"); class Proxy extends BeanModel { /** - * Return a object that ready to parse to JSON + * Return an object that ready to parse to JSON * @returns {Object} */ toJSON() { diff --git a/server/model/status_page.js b/server/model/status_page.js index a48dc7b26..99b284ab4 100644 --- a/server/model/status_page.js +++ b/server/model/status_page.js @@ -98,7 +98,7 @@ class StatusPage extends BeanModel { } /** - * Return a object that ready to parse to JSON + * Return an object that ready to parse to JSON * @returns {Object} */ async toJSON() { @@ -119,7 +119,7 @@ class StatusPage extends BeanModel { } /** - * Return a object that ready to parse to JSON for public + * Return an object that ready to parse to JSON for public * Only show necessary data to public * @returns {Object} */ diff --git a/server/model/tag.js b/server/model/tag.js index 5a8d97d31..b31eb8682 100644 --- a/server/model/tag.js +++ b/server/model/tag.js @@ -3,7 +3,7 @@ const { BeanModel } = require("redbean-node/dist/bean-model"); class Tag extends BeanModel { /** - * Return a object that ready to parse to JSON + * Return an object that ready to parse to JSON * @returns {Object} */ toJSON() {