Created
November 20, 2019 04:31
-
-
Save standinga/e5377e23f52b9ce4a5c6a596ae8adefd 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
test: async function() { | |
const user = this.$firebase.auth().currentUser | |
const idToken = await user.getIdToken(true) | |
const url = `https://sign-9aee2.firebaseio.com/test.json?auth=${idToken}` | |
const test = await this.$axios.$get(url) | |
console.log(test) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment