Skip to content

Commit

Permalink
Fix typo documentation (#584)
Browse files Browse the repository at this point in the history
loggued => logged
  • Loading branch information
Yoann-Abbes authored Jan 13, 2021
1 parent 18c232a commit 7bf900e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions doc/7/controllers/auth/create-api-key/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
code: true
type: page
title: createApiKey
description: Creates a new API key for the currently loggued user.
description: Creates a new API key for the currently logged user.
---

# createApiKey
Expand All @@ -11,7 +11,7 @@ description: Creates a new API key for the currently loggued user.

<SinceBadge version="Kuzzle 2.1.0" />

Creates a new API key for the currently loggued user.
Creates a new API key for the currently logged user.

<br />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: auth#createApiKey
description: Creates a new API key for the currently loggued user.
description: Creates a new API key for the currently logged user.
hooks:
before: >
curl --fail -H "Content-type: application/json" -d '{
Expand Down
4 changes: 2 additions & 2 deletions doc/7/controllers/auth/delete-api-key/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
code: true
type: page
title: deleteApiKey
description: Deletes an API key for the currently loggued user.
description: Deletes an API key for the currently logged user.
---

# deleteApiKey
Expand All @@ -11,7 +11,7 @@ description: Deletes an API key for the currently loggued user.

<SinceBadge version="Kuzzle 2.1.0" />

Deletes an API key for the currently loggued user.
Deletes an API key for the currently logged user.

<br />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: auth#deleteApiKey
description: Deletes an API key for the currently loggued user
description: Deletes an API key for the currently logged user
hooks:
before: >
curl --fail -H "Content-type: application/json" -d '{
Expand Down
6 changes: 3 additions & 3 deletions doc/7/controllers/auth/search-api-keys/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
code: true
type: page
title: searchApiKeys
description: Searches API keys for the currently loggued user.
description: Searches API keys for the currently logged user.
---

# searchApiKeys
Expand All @@ -11,7 +11,7 @@ description: Searches API keys for the currently loggued user.

<SinceBadge version="Kuzzle 2.1.0" />

Searches API keys for the currently loggued user.
Searches API keys for the currently logged user.

<br />

Expand Down Expand Up @@ -39,7 +39,7 @@ Koncorde filters will be translated into an Elasticsearch query.
Koncorde `bool` operator and `regexp` clause are not supported for search queries.
:::

If left empty, the result will return all available API keys of the currently loggued user.
If left empty, the result will return all available API keys of the currently logged user.

### options

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: auth#searchApiKeys-es
description: Searches API keys for the currently loggued user.
description: Searches API keys for the currently logged user.
hooks:
before: >
curl --fail -H "Content-type: application/json" -d '{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: auth#searchApiKeys-koncorde
description: Searches API keys for the currently loggued user.
description: Searches API keys for the currently logged user.
hooks:
before: >
curl --fail -H "Content-type: application/json" -d '{
Expand Down
10 changes: 5 additions & 5 deletions src/controllers/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class AuthController extends BaseController {
}

/**
* Creates a new API key for the currently loggued user.
* Creates a new API key for the currently logged user.
*
* @see https://docs.kuzzle.io/sdk/js/7/controllers/auth/create-api-key
*
Expand Down Expand Up @@ -92,7 +92,7 @@ export class AuthController extends BaseController {
}

/**
* Deletes an API key for the currently loggued user.
* Deletes an API key for the currently logged user.
*
* @see https://docs.kuzzle.io/sdk/js/7/controllers/auth/delete-api-key
*
Expand All @@ -112,7 +112,7 @@ export class AuthController extends BaseController {
}

/**
* Searches API keys for the currently loggued user.
* Searches API keys for the currently logged user.
*
* @see https://docs.kuzzle.io/sdk/js/7/controllers/auth/search-api-keys
*
Expand Down Expand Up @@ -258,7 +258,7 @@ export class AuthController extends BaseController {
* @param options Additional options
* - `queuable` If true, queues the request during downtime, until connected to Kuzzle again
*
* @returns Currently loggued User
* @returns Currently logged User
*/
getCurrentUser (options: { queuable?: boolean } = {}): Promise<User> {
return this.query({
Expand Down Expand Up @@ -438,7 +438,7 @@ export class AuthController extends BaseController {
* @param options Additional options
* - `queuable` If true, queues the request during downtime, until connected to Kuzzle again
*
* @returns Currently loggued User
* @returns Currently logged User
*/
updateSelf (
content: JSONObject,
Expand Down

0 comments on commit 7bf900e

Please sign in to comment.