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