mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
fix linting error
This commit is contained in:
parent
99fbfd9848
commit
b9ec201c84
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue