mirror of
https://github.com/madari-media/madari-oss.git
synced 2026-03-11 17:15:39 +00:00
fix: bypass cache
This commit is contained in:
parent
10749010ce
commit
111fe55d4f
1 changed files with 8 additions and 2 deletions
|
|
@ -808,7 +808,10 @@ class TraktService {
|
|||
|
||||
try {
|
||||
if (meta.type == "series") {
|
||||
final body = await _makeRequest("$_baseUrl/sync/playback/episodes");
|
||||
final body = await _makeRequest(
|
||||
"$_baseUrl/sync/playback/episodes",
|
||||
bypassCache: true,
|
||||
);
|
||||
|
||||
final List<TraktProgress> result = [];
|
||||
|
||||
|
|
@ -849,7 +852,10 @@ class TraktService {
|
|||
|
||||
return result;
|
||||
} else {
|
||||
final body = await _makeRequest("$_baseUrl/sync/playback/movies");
|
||||
final body = await _makeRequest(
|
||||
"$_baseUrl/sync/playback/movies",
|
||||
bypassCache: true,
|
||||
);
|
||||
|
||||
for (final item in body) {
|
||||
if (item["type"] != "movie") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue