From a6a52b8ef1f9fb9d562d66633e1a5a5490475c5d Mon Sep 17 00:00:00 2001 From: Rahul Jain Date: Mon, 21 Feb 2022 10:59:03 +0530 Subject: [PATCH] changes this to self (#1208) --- src/services/modules/federation/federation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/modules/federation/federation.js b/src/services/modules/federation/federation.js index 341a18d0de..6942153a7e 100644 --- a/src/services/modules/federation/federation.js +++ b/src/services/modules/federation/federation.js @@ -165,7 +165,7 @@ export const deleteFederator = async (self, data) => { requestList.push({ method: endpoint.DELETE_FEDERATOR, data: getFederatorKey(data) }) let mc = undefined for (const request of requestList) { - mc = await authSyncRequest(this, request) + mc = await authSyncRequest(self, request) if (responseValid(mc)) { continue; }