mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 12:37:08 +00:00
Move API action option to the correct argument
This commit is contained in:
@@ -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"}]);
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user