Skip to content

Commit 9c42fe3

Browse files
committed
Update doc block or API Key methods
1 parent d67b006 commit 9c42fe3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/clients/client.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ class Client {
258258
* @method getKey
259259
*
260260
* @param {string} key - Key
261-
* @returns {Promise<Keys>} Promise returning a key
261+
* @returns {Promise<Key>} Promise returning a key
262262
*/
263263
async getKey(key: string): Promise<Key> {
264264
const url = `keys/${key}`
@@ -271,7 +271,7 @@ class Client {
271271
* @method createKey
272272
*
273273
* @param {KeyPayload} options - Key options
274-
* @returns {Promise<Key>} Promise returning an object with keys
274+
* @returns {Promise<Key>} Promise returning a key
275275
*/
276276
async createKey(options: KeyPayload): Promise<Key> {
277277
const url = `keys`
@@ -285,7 +285,7 @@ class Client {
285285
*
286286
* @param {string} key - Key
287287
* @param {KeyPayload} options - Key options
288-
* @returns {Promise<Key>} Promise returning an object with keys
288+
* @returns {Promise<Key>} Promise returning a key
289289
*/
290290
async updateKey(key: string, options: KeyPayload): Promise<Key> {
291291
const url = `keys/${key}`

0 commit comments

Comments
 (0)