Created
February 24, 2020 23:19
-
-
Save manakuro/1432877b0714e94b9f663165091347d3 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
const user = url | |
|> api.get | |
|> await | |
|> (r => r.json()) | |
|> await | |
|> (j => j.data.user); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment