Skip to content

Commit 379bebf

Browse files
committed
chore: no cache
Signed-off-by: mateonunez <mateonunez95@gmail.com>
1 parent 5d0e8fd commit 379bebf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/spotify.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const getRecentlyPlayed = async () => {
6363
headers: {
6464
Authorization: `Bearer ${accessToken}`,
6565
},
66+
cache: 'no-cache',
6667
});
6768
};
6869

@@ -86,6 +87,7 @@ export const getTopArtists = async () => {
8687
headers: {
8788
Authorization: `Bearer ${accessToken}`,
8889
},
90+
cache: 'no-cache',
8991
});
9092
};
9193

@@ -109,5 +111,6 @@ export const getTopTracks = async () => {
109111
headers: {
110112
Authorization: `Bearer ${accessToken}`,
111113
},
114+
cache: 'no-cache',
112115
});
113116
};

0 commit comments

Comments
 (0)