Fix the wago game type

This commit is contained in:
jliddev
2022-07-18 08:32:50 -05:00
parent d824c8ff44
commit 1e88ebbc0d

View File

@@ -28,7 +28,7 @@ import { getWowClientGroup } from "../../common/warcraft";
import { HttpErrorResponse } from "@angular/common/http";
import { UiMessageService } from "../services/ui-message/ui-message.service";
declare type WagoGameVersion = "retail" | "classic" | "bc" | "wrath";
declare type WagoGameVersion = "retail" | "classic" | "bc" | "wotlk";
declare type WagoStability = "stable" | "beta" | "alpha";
interface WagoFingerprintAddon {
@@ -678,7 +678,7 @@ export class WagoAddonProvider extends AddonProvider {
case WowClientGroup.Retail:
return "retail";
case WowClientGroup.WOTLK:
return "wrath";
return "wotlk";
default:
throw new Error(`[wago] Un-handled client type: ${clientType}`);
}