Moved exports to bottom of file
This commit is contained in:
parent
025cc89f2e
commit
ef0fbf1a12
1 changed files with 2 additions and 2 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
import md5 from 'crypto-js/md5';
|
import md5 from 'crypto-js/md5';
|
||||||
|
|
||||||
export { getSignature, postSignature, getHash, getFingerprint };
|
|
||||||
|
|
||||||
const getSignature = (hash, setSignature, setload) => {
|
const getSignature = (hash, setSignature, setload) => {
|
||||||
axios
|
axios
|
||||||
.get(`https://api.vytal.io/fingerprint/?hash=${hash}`)
|
.get(`https://api.vytal.io/fingerprint/?hash=${hash}`)
|
||||||
|
|
@ -37,3 +35,5 @@ const getFingerprint = (signature, hash) => [
|
||||||
issues: [],
|
issues: [],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
export { getSignature, postSignature, getHash, getFingerprint };
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue