mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-22 15:00:38 -04:00
Fix the wago game type
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user