Add report parsing time to the parse result

This commit is contained in:
Sandra
2022-01-31 01:50:18 +01:00
parent cfc940c878
commit ebf98275cf
2 changed files with 10 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ export default {
this.report = await this.axios.post('/v1/parse', formData, {headers: {'Content-Type': 'multipart/form-data'}})
.then((response) => response.data)
.catch((error) => console.log(error));
console.log(`Report parsing took ${this.report.took}`);
}
},
setup: function () {