Skip to content

Commit f617bc2

Browse files
committed
bump version
1 parent c7eebc2 commit f617bc2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

atlassian/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.28.0
1+
3.28.1

atlassian/service_desk.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,11 @@ def attach_temporary_file(self, service_desk_id, filename):
492492
experimental_headers["X-Atlassian-Token"] = "no-check"
493493

494494
with open(filename, "rb") as file:
495-
result = self.post(path=url, headers=experimental_headers, files={"file": file}).json().get("temporaryAttachments")
495+
result = (
496+
self.post(path=url, headers=experimental_headers, files={"file": file})
497+
.json()
498+
.get("temporaryAttachments")
499+
)
496500
temp_attachment_id = result[0].get("temporaryAttachmentId")
497501

498502
return temp_attachment_id

0 commit comments

Comments
 (0)