Created
December 6, 2018 04:54
-
-
Save tnorthcutt/9ee01af0f3d7f5684ad6b7172c98a658 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
fetchUrl() { | |
return axios.get('https://api.github.com/repos/tnorthcutt/member-score-wp-plugin/releases/latest') | |
.then(function (response) { | |
return response.data.assets[0].browser_download_url; | |
}); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment