diff --git a/apps/api/src/services/property/property.service.ts b/apps/api/src/services/property/property.service.ts index 34ce5713b..8c1d72373 100644 --- a/apps/api/src/services/property/property.service.ts +++ b/apps/api/src/services/property/property.service.ts @@ -38,9 +38,9 @@ export class PropertyService { return response; } - public async getByKey(aKey: string) { + public async getByKey(aKey: string): Promise { const properties = await this.get(); - return properties?.[aKey]; + return properties?.[aKey] as TKey; } public async isUserSignupEnabled() {