1
0
Fork 0
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:
Ashishprasa 2023-12-31 11:49:19 +05:30
parent 99fbfd9848
commit b9ec201c84

View file

@ -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;
}