Move API action option to the correct argument

This commit is contained in:
D. Berge
2025-08-07 19:20:27 +02:00
parent f6faad17db
commit d5e77bc946

View File

@@ -1102,7 +1102,6 @@ export default {
const download = (url) => {
const init = {
format: "arrayBuffer",
headers: {
//Accept: "application/vnd.aaltronav.dougal+octet-stream; format=1c"
Accept: "application/vnd.aaltronav.dougal+octet-stream"
@@ -1124,7 +1123,7 @@ export default {
// Technically we do not need to await but this is
// to slow down the cient and avoid firing too many
// requests at once.
self.api([url, init, cb, {cache: true}]);
self.api([url, init, cb, {cache: true, format: "arrayBuffer"}]);
});
}