add utility methods to get instance actor, relay actor, and proxy actor
This commit is contained in:
@@ -175,4 +175,16 @@ export class SystemAccountService {
|
|||||||
|
|
||||||
return updated;
|
return updated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public async getInstanceActor() {
|
||||||
|
return await this.fetch('actor');
|
||||||
|
}
|
||||||
|
|
||||||
|
public async getRelayActor() {
|
||||||
|
return await this.fetch('relay');
|
||||||
|
}
|
||||||
|
|
||||||
|
public async getProxyActor() {
|
||||||
|
return await this.fetch('proxy');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user