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
|
||||
}
|
||||
});
|
||||
|
||||
if (fingerprints.length < 2) {
|
||||
swal("Oops!", 'Please capture the two fingers for this profile.', "error");
|
||||
return;
|
||||
}
|
||||
|
||||
var { data } = await axios.post(
|
||||
this.authenticateUrl(`/uc/fingerprints/${this.staff.reference}`),
|
||||
{ fingerprints }
|
||||
|
||||
Reference in New Issue
Block a user