diff --git a/doc/7/controllers/auth/create-api-key/index.md b/doc/7/controllers/auth/create-api-key/index.md index f0f301b9f..20729d5fd 100644 --- a/doc/7/controllers/auth/create-api-key/index.md +++ b/doc/7/controllers/auth/create-api-key/index.md @@ -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 @@ -11,7 +11,7 @@ description: Creates a new API key for the currently loggued user. -Creates a new API key for the currently loggued user. +Creates a new API key for the currently logged user.
diff --git a/doc/7/controllers/auth/create-api-key/snippets/create-api-key.test.yml b/doc/7/controllers/auth/create-api-key/snippets/create-api-key.test.yml index 96029d0b1..a18c6da50 100644 --- a/doc/7/controllers/auth/create-api-key/snippets/create-api-key.test.yml +++ b/doc/7/controllers/auth/create-api-key/snippets/create-api-key.test.yml @@ -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 '{ diff --git a/doc/7/controllers/auth/delete-api-key/index.md b/doc/7/controllers/auth/delete-api-key/index.md index efc7db6c2..4b9dff764 100644 --- a/doc/7/controllers/auth/delete-api-key/index.md +++ b/doc/7/controllers/auth/delete-api-key/index.md @@ -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 @@ -11,7 +11,7 @@ description: Deletes an API key for the currently loggued user. -Deletes an API key for the currently loggued user. +Deletes an API key for the currently logged user.
diff --git a/doc/7/controllers/auth/delete-api-key/snippets/delete-api-key.test.yml b/doc/7/controllers/auth/delete-api-key/snippets/delete-api-key.test.yml index de7c1759e..5506dfdb4 100644 --- a/doc/7/controllers/auth/delete-api-key/snippets/delete-api-key.test.yml +++ b/doc/7/controllers/auth/delete-api-key/snippets/delete-api-key.test.yml @@ -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 '{ diff --git a/doc/7/controllers/auth/search-api-keys/index.md b/doc/7/controllers/auth/search-api-keys/index.md index 48d415bdc..3f95ffcbd 100644 --- a/doc/7/controllers/auth/search-api-keys/index.md +++ b/doc/7/controllers/auth/search-api-keys/index.md @@ -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 @@ -11,7 +11,7 @@ description: Searches API keys for the currently loggued user. -Searches API keys for the currently loggued user. +Searches API keys for the currently logged user.
@@ -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 diff --git a/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-es.test.yml b/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-es.test.yml index 16aa121f3..7e83ccfbf 100644 --- a/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-es.test.yml +++ b/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-es.test.yml @@ -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 '{ diff --git a/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-koncorde.test.yml b/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-koncorde.test.yml index 784cf1a9b..975127877 100644 --- a/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-koncorde.test.yml +++ b/doc/7/controllers/auth/search-api-keys/snippets/search-api-keys-koncorde.test.yml @@ -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 '{ diff --git a/src/controllers/Auth.ts b/src/controllers/Auth.ts index e2ffbb99c..207193df5 100644 --- a/src/controllers/Auth.ts +++ b/src/controllers/Auth.ts @@ -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 * @@ -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 * @@ -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 * @@ -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 { return this.query({ @@ -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,