mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: getLanguageByCode()
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user