docs: fixed typo in the contribution guide (#4988)

This commit is contained in:
Ikko Eltociear Ashimine 2024-08-03 16:49:49 +09:00 committed by GitHub
parent cd5644d6d2
commit 13f67462ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -127,7 +127,7 @@ Different guidelines exist for different types of pull requests (PRs):
- `server/monitor-types/MONITORING_TYPE.js` is the core of each monitor. - `server/monitor-types/MONITORING_TYPE.js` is the core of each monitor.
the `async check(...)`-function should: the `async check(...)`-function should:
- throw an error for each fault that is detected with an actionable error message - throw an error for each fault that is detected with an actionable error message
- in the happy-path, you should set `heartbeat.msg` to a successfull message and set `heartbeat.status = UP` - in the happy-path, you should set `heartbeat.msg` to a successful message and set `heartbeat.status = UP`
- `server/uptime-kuma-server.js` is where the monitoring backend needs to be registered. - `server/uptime-kuma-server.js` is where the monitoring backend needs to be registered.
*If you have an idea how we can skip this step, we would love to hear about it ^^* *If you have an idea how we can skip this step, we would love to hear about it ^^*
- `src/pages/EditMonitor.vue` is the shared frontend users interact with. - `src/pages/EditMonitor.vue` is the shared frontend users interact with.