Skip to content

Commit a9f85cf

Browse files
authored
Update regex for SpotifyTokenTracker Secret (#282)
1 parent 8ba316b commit a9f85cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/src/main/java/com/github/topi314/lavasrc/spotify/SpotifyTokenTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
public class SpotifyTokenTracker {
3434
private static final Logger log = LoggerFactory.getLogger(SpotifyTokenTracker.class);
3535

36-
private static final Pattern SECRET_PATTERN = Pattern.compile("\\(\\[(\\d+(?:,\\d+)+)]\\)");
36+
private static final Pattern SECRET_PATTERN = Pattern.compile("\"secret\":\\[(\\d+(?:,\\d+)+)]");
3737

3838
private final SpotifySourceManager sourceManager;
3939

0 commit comments

Comments
 (0)