Fix: Send only blob to API server.
This commit is contained in:
@@ -114,6 +114,12 @@ var app = new Vue({
|
|||||||
fingerprint: this.fingerDetails[finger].fingerprint
|
fingerprint: this.fingerDetails[finger].fingerprint
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (fingerprints.length < 2) {
|
||||||
|
swal("Oops!", 'Please capture the two fingers for this profile.', "error");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var { data } = await axios.post(
|
var { data } = await axios.post(
|
||||||
this.authenticateUrl(`/uc/fingerprints/${this.staff.reference}`),
|
this.authenticateUrl(`/uc/fingerprints/${this.staff.reference}`),
|
||||||
{ fingerprints }
|
{ fingerprints }
|
||||||
|
|||||||
Reference in New Issue
Block a user