Created
January 3, 2017 00:38
-
-
Save trepidity/d9f1f527c677491bd1b1487e5f748975 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
class SongApi { | |
static getAllSongs() { | |
return fetch('http://wellspring-fellowship.github.io/site.json').then(response => { | |
return response.json(); | |
}).catch(error => { | |
return error; | |
}); | |
} | |
} | |
export default SongApi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment