diff --git a/src/storage/ResellerStorage.ts b/src/storage/ResellerStorage.ts index 7009bcf..4d72810 100644 --- a/src/storage/ResellerStorage.ts +++ b/src/storage/ResellerStorage.ts @@ -4,7 +4,7 @@ import { InMemoryStorage } from "./InMemoryStorage"; export class ResellerStorage implements InMemoryStorage { public get(apiKey: string): Nullable { if ((Object.keys(Reseller) as string[]).includes(apiKey)) { - return Reseller[apiKey as Reseller] + return Reseller[apiKey as Reseller]; } return null;