mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-25 18:11:48 +01:00
fix linting error
This commit is contained in:
parent
99fbfd9848
commit
b9ec201c84
@ -33,8 +33,8 @@ export async function searchForMedia(query: MWQuery): Promise<MediaItem[]> {
|
||||
}
|
||||
return 0;
|
||||
});
|
||||
|
||||
cache.set(query, results, 3600);
|
||||
|
||||
// cache results for 1 hour
|
||||
cache.set(query, results, 3600);
|
||||
return results;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user