Skip to content

Commit cc07f9e

Browse files
committed
fix reject api call
1 parent 2b671a5 commit cc07f9e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/shared/services/timelineWall.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ export const rejectEventById = async (tokenV3, id, body, successFn) => {
182182
try {
183183
fetch(`${baseUrl}/timelineEvents/${id}/reject`, {
184184
method: 'PUT',
185-
headers: { Authorization: `Bearer ${tokenV3}` },
185+
headers: {
186+
Authorization: `Bearer ${tokenV3}`,
187+
'Content-Type': 'application/json; charset=utf-8',
188+
},
186189
body: JSON.stringify(body),
187190
}).then(() => {
188191
successFn();

0 commit comments

Comments
 (0)