Skip to content

Commit 62e45c1

Browse files
Correct content-type (#261)
1 parent 0dadbd6 commit 62e45c1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sdk-common/src/main/java/dev/restate/sdk/common/CoreSerdes.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ public T deserialize(byte[] value) {
171171
throw new RuntimeException("Cannot create JsonGenerator", e);
172172
}
173173
}
174+
175+
@Override
176+
public String contentType() {
177+
return "application/json";
178+
}
174179
};
175180
}
176181
}

0 commit comments

Comments
 (0)