default to content type json
This commit is contained in:
parent
a59df74fb2
commit
5640f0a67d
@ -48,7 +48,7 @@ export async function defaultRequestHandler<T>(
|
||||
)}`;
|
||||
}
|
||||
requestHeaders["Content-Type"] =
|
||||
options.contentType === "json" ? "application/json" : "text/plain";
|
||||
!options.contentType || options.contentType === "json" ? "application/json" : "text/plain";
|
||||
|
||||
if (options.talerAmlOfficerSignature) {
|
||||
requestHeaders["Taler-AML-Officer-Signature"] =
|
||||
|
Loading…
Reference in New Issue
Block a user