From cba6e4deb9a649b14dcfda4357d96ebb504f9be4 Mon Sep 17 00:00:00 2001 From: Carl Downing Date: Sun, 30 Jul 2023 08:23:05 -0700 Subject: [PATCH] typos --- .github/pull_request_template.md | 2 +- ApiReference/CodeExamples/DataTypes/GreaterThan.md | 2 +- ApiReference/Service/Errors.ts | 2 +- ApiReference/views/main/authentication.ejs | 4 ++-- ApiReference/views/main/data-types.ejs | 2 +- ApiReference/views/main/pagination.ejs | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 1f0c08eff0..c7069fd974 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -7,7 +7,7 @@ - [ ] Please make sure all jobs pass before requesting a review. - [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such). - [ ] Have you lint your code locally before submission? -- [ ] Did you write tests where appropiate? +- [ ] Did you write tests where appropriate? ### Related Issue? diff --git a/ApiReference/CodeExamples/DataTypes/GreaterThan.md b/ApiReference/CodeExamples/DataTypes/GreaterThan.md index 30ea04f4af..5d93326645 100644 --- a/ApiReference/CodeExamples/DataTypes/GreaterThan.md +++ b/ApiReference/CodeExamples/DataTypes/GreaterThan.md @@ -1,7 +1,7 @@ { "query": { "age": { - "_type": "GraterThan", + "_type": "GreaterThan", "value": 10 } } diff --git a/ApiReference/Service/Errors.ts b/ApiReference/Service/Errors.ts index 4b91a4d6ef..e36f89366d 100644 --- a/ApiReference/Service/Errors.ts +++ b/ApiReference/Service/Errors.ts @@ -14,7 +14,7 @@ export default class ServiceHandler { const pageData: any = {}; pageTitle = 'Errors'; - pageDescription = 'Learn more about how we reuturn errors from API'; + pageDescription = 'Learn more about how we return errors from API'; return res.render('pages/index', { page: page, diff --git a/ApiReference/views/main/authentication.ejs b/ApiReference/views/main/authentication.ejs index cc614f91d1..13cf4fb05c 100644 --- a/ApiReference/views/main/authentication.ejs +++ b/ApiReference/views/main/authentication.ejs @@ -29,11 +29,11 @@

Authentication with API Key

-

You can use OneUptime API Key on Request Header when you're making a requst. You can use You can use OneUptime API Key on Request Header when you're making a request. You can use Authorization header with your API Key when you make a request.

<%- include('../partials/code', {title: "Example request with API Key" , requestUrl: "" , requestType: "" , code: "curl --header \"ApiKey: {secret-api-key}\" --header \"ProjectID: {project-id}\" https://oneuptime.com/api/\" }) -%>

Please don't commit your OneUptime API Key to GitHub, or on any other source control - project. Please regenerate a new API Key, if your API Key is comitted by mistake.

+ project. Please regenerate a new API Key, if your API Key is committed by mistake.

\ No newline at end of file diff --git a/ApiReference/views/main/data-types.ejs b/ApiReference/views/main/data-types.ejs index 4b12af2d0f..07d2018b0f 100644 --- a/ApiReference/views/main/data-types.ejs +++ b/ApiReference/views/main/data-types.ejs @@ -12,7 +12,7 @@

Select can be used to select fields from an Object in List or Get Item API. By default only ID's - are returned to the client. To retrive more fields you need use:

+ are returned to the client. To retrieve more fields you need use:

    In this example, we request the list fo monitors. As a result, we get a list of three monitors and can tell by the count attribute that we have reached the end of the - resultset

    + result set

    Query Parameters