Requests are now posted with a body to endpoint /v2/requests

This commit is contained in:
2019-06-28 22:30:37 +02:00
parent 0139d0b0da
commit 7e926bb37f
2 changed files with 19 additions and 7 deletions

View File

@@ -174,7 +174,7 @@ export default {
sendRequest(){
request(this.id, this.type, storage.token)
.then(resp => {
if (resp.data.success) {
if (resp.success) {
this.requested = true
}
})