Skip to content

Commit bd841fa

Browse files
authored
Fix sharing event (#98)
1 parent 55e7cc0 commit bd841fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/api/klipy.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ export const shareEvent = async (slug: string, searchTerm: string) => {
9898

9999
const response = await fetch(url, {
100100
method: "POST",
101+
headers: {
102+
"Content-Type": "application/json",
103+
},
101104
body: JSON.stringify(body),
102105
});
103106
if (!response.ok)

0 commit comments

Comments
 (0)