Skip to content

Commit dadc9f3

Browse files
fix mime type
1 parent 8782889 commit dadc9f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/user-admin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ export async function addAnnouncement(announcement: NewAnnouncement) {
312312
{
313313
method: 'put',
314314
headers: {
315-
Accept: 'plain/text',
316-
'Content-Type': 'plain/text',
315+
Accept: 'application/json',
316+
'Content-Type': 'text/plain',
317317
},
318318
body: sanitizeString(announcement.message),
319319
}

0 commit comments

Comments
 (0)