Created
January 27, 2019 15:42
-
-
Save a9kit/86d155522dc1a3faffeff058ae0e3dbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import config from './../config/config'; | |
import axios from 'axios'; | |
const authentication = { | |
login(email) | |
{ | |
return axios.get(config.url+config.bucket_slug+"/object-type/admins/search",{ | |
params:{ | |
metafield_key: 'email', | |
metafield_value: email, | |
limit: 1, | |
read_key: config.read_key | |
} | |
}) | |
} | |
} | |
export default authentication; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment