From b30d820ab0c51f740050a9dcb9aac20dcf7ca83b Mon Sep 17 00:00:00 2001
From: tamaina <tamaina@hotmail.co.jp>
Date: Tue, 3 Jan 2023 15:24:28 +0000
Subject: [PATCH] fix

---
 .../backend/src/core/activitypub/ApRequestService.ts | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/packages/backend/src/core/activitypub/ApRequestService.ts b/packages/backend/src/core/activitypub/ApRequestService.ts
index 7ac5eaf7a0..2626beaade 100644
--- a/packages/backend/src/core/activitypub/ApRequestService.ts
+++ b/packages/backend/src/core/activitypub/ApRequestService.ts
@@ -152,12 +152,14 @@ export class ApRequestService {
 			},
 		});
 
-		await this.httpRequestService.fetch({
+		await this.httpRequestService.fetch(
 			url,
-			method: req.request.method,
-			headers: req.request.headers,
-			body,
-		});
+			{
+				method: req.request.method,
+				headers: req.request.headers,
+				body,
+			}
+		);
 	}
 
 	/**