diff --git a/src/keri/app/contacting.ts b/src/keri/app/contacting.ts index 98a71ca5..ef31beb4 100644 --- a/src/keri/app/contacting.ts +++ b/src/keri/app/contacting.ts @@ -74,14 +74,13 @@ export class Contacts { * Delete a contact * @async * @param {string} pre Prefix of the contact - * @returns {Promise} A promise to the result of the deletion + * @returns {Promise} */ - async delete(pre: string): Promise { + async delete(pre: string): Promise { const path = `/contacts/` + pre; const method = 'DELETE'; - const res = await this.client.fetch(path, method, null); - return await res.json(); + await this.client.fetch(path, method, null); } /**