File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 } `
You can’t perform that action at this time.
0 commit comments