fix(all): Fixing bugs of 3.0
This commit is contained in:
parent
8fb35c2c2d
commit
39eff93528
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ export class GBAdminService implements IGBAdminService {
|
||||||
|
|
||||||
public async acquireElevatedToken (instanceId: number): Promise<string> {
|
public async acquireElevatedToken (instanceId: number): Promise<string> {
|
||||||
const minBoot = GBServer.globals.minBoot as any;
|
const minBoot = GBServer.globals.minBoot as any;
|
||||||
instanceId = minBoot.instanceId;
|
instanceId = minBoot.instance.instanceId;
|
||||||
|
|
||||||
return new Promise<string>(async (resolve, reject) => {
|
return new Promise<string>(async (resolve, reject) => {
|
||||||
const instance = await this.core.loadInstanceById(instanceId);
|
const instance = await this.core.loadInstanceById(instanceId);
|
||||||
|
|
Loading…
Add table
Reference in a new issue