Skip to content

Commit

Permalink
Fix example
Browse files Browse the repository at this point in the history
  • Loading branch information
mateussmohamed committed Dec 2, 2017
1 parent ca1634d commit e663f8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
<script>
async function App() {

const SpotifoodWrapper = await SpotifoodWrapper.init({
const spotifood = await SpotifoodWrapper.init({
clientID: '24db18fe385c4ddfb9eb77bd70816b21',
clientSecret: '49013f8eddb942499b71c3257d6e177b',
});

const albums = SpotifoodWrapper.search.albums('Post Malone');
const albums = spotifood.search.albums('Post Malone');
const albumsEl = document.getElementById('albums');

albums.then(data => {
Expand All @@ -44,7 +44,7 @@
country: 'BR',
};

const playlists = SpotifoodWrapper.browser.featuredPlaylists(filters);
const playlists = spotifood.browser.featuredPlaylists(filters);

playlists.then(data => console.log(data))
}
Expand Down

0 comments on commit e663f8b

Please sign in to comment.