mirror of
https://codeberg.org/demostf/api.git
synced 2026-06-03 18:04:08 +02:00
use parser binary
This commit is contained in:
parent
9d3e175544
commit
334dfb3771
6 changed files with 25 additions and 35 deletions
|
|
@ -104,6 +104,7 @@ function uploadDemo(file) {
|
|||
key: 'key1'
|
||||
}
|
||||
}).then((response) => {
|
||||
console.log(`body: "${response.body}"`);
|
||||
return parseInt(response.body.match(/\/(\d+)/)[1], 10);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue