From d7e34495e033917aa3c065d39176508da9f9cf1d Mon Sep 17 00:00:00 2001 From: John Shields Date: Fri, 16 Feb 2024 16:32:23 +0000 Subject: [PATCH] PP-11681 Fix linting error. Remove unused 'const status'. --- app/services/clients/webhooks.client.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/services/clients/webhooks.client.js b/app/services/clients/webhooks.client.js index 17aa92f66c..36996f13d5 100644 --- a/app/services/clients/webhooks.client.js +++ b/app/services/clients/webhooks.client.js @@ -66,7 +66,6 @@ async function attempts (messageId, webhookId, options = {}) { async function messages (id, options = {}) { const url = urlJoin(defaultRequestOptions.baseUrl,'/v1/webhook', id, 'message') this.client = new Client(defaultRequestOptions.service) - const status = options.status const fullUrl = `${url}?page=${options.page}` configureClient(this.client, fullUrl) const response = await this.client.get(fullUrl, 'List messages for webhook')