1
0
Fork 0
mirror of https://codeberg.org/demostf/api.git synced 2026-06-03 09:54:17 +02:00

use parser binary

This commit is contained in:
Robin Appelman 2019-03-05 23:04:30 +01:00
commit 334dfb3771
6 changed files with 25 additions and 35 deletions

View file

@ -104,6 +104,7 @@ function uploadDemo(file) {
key: 'key1'
}
}).then((response) => {
console.log(`body: "${response.body}"`);
return parseInt(response.body.match(/\/(\d+)/)[1], 10);
});
}