Skip to content

Commit 14df7e7

Browse files
committed
Fix
1 parent 672b3fd commit 14df7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/spotify/spotify.app.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export default {
276276
returnFullResponse: true,
277277
});
278278
} catch (err) {
279-
if (err?.status !== 429 || retries <= 3) {
279+
if (err?.status !== 429 || retries >= 3) {
280280
$?.export?.("response", err);
281281
throw new Error("Error response exported in the \"response\" object");
282282
}

0 commit comments

Comments
 (0)