From 263a0f0aae15bd9f756d5aadb01312be6f422401 Mon Sep 17 00:00:00 2001 From: Dominik Bohuncak Date: Mon, 2 Oct 2023 11:32:46 +0200 Subject: [PATCH] fix for correct url string for atlassian --- application/src/Service/AtlassianApiService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/src/Service/AtlassianApiService.php b/application/src/Service/AtlassianApiService.php index 9124628..902ae1c 100644 --- a/application/src/Service/AtlassianApiService.php +++ b/application/src/Service/AtlassianApiService.php @@ -75,7 +75,7 @@ public function addIssueAttachments(string $issueId, array $files): ResponseInte 'Content-Type' => 'application/json', 'Authorization' => 'Basic '.$this->token, ], - RequestOptions::JSON => $data, + RequestOptions::BODY => json_encode($data, JSON_UNESCAPED_SLASHES), ]); } }