Created
June 5, 2017 23:56
-
-
Save jacks205/fa692f97bc7a865a73e5763f0107124f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 API from '../api' | |
export const loginUser = (email, password) => API.post('/auth/signin', {}, {email, password}) | |
export const retrieveCurrentUser = () => API.get('/user') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment