fix: getLanguageByCode()

This commit is contained in:
Mohamed Marrouchi
2024-09-24 11:41:18 +01:00
parent ecb8d9745a
commit 82dd888f2f
2 changed files with 3 additions and 2 deletions

View File

@@ -62,7 +62,6 @@ export class LanguageService extends BaseService<Language> {
*
* @returns A promise that resolves to the `Language` object.
*/
@Cacheable(DEFAULT_LANGUAGE_CACHE_KEY)
async getLanguageByCode(code: string) {
return await this.findOne({ code });
}