refactor: 📝 Use new Versia content-type everywhere
Some checks failed
Mirror to Codeberg / Mirror (push) Failing after 0s

This commit is contained in:
Jesse Wierzbinski 2025-05-13 15:31:35 +02:00
parent e138e9e7c3
commit c6c5945bef
No known key found for this signature in database
3 changed files with 8 additions and 8 deletions

View file

@ -116,7 +116,7 @@ const headers = new Headers();
headers.set("Versia-Signed-By", "bob.com");
headers.set("Versia-Signed-At", timestamp);
headers.set("Versia-Signature", base64Signature);
headers.set("Content-Type", "application/json");
headers.set("Content-Type", "application/vnd.versia+json; charset=utf-8");
const response = await fetch("https://alice.com/.versia/v0.6/inbox", {
method: "POST",