mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 12:36:57 +00:00
add utility methods to get instance actor, relay actor, and proxy actor
This commit is contained in:
parent
76b1cf0526
commit
82e2952e3c
1 changed files with 12 additions and 0 deletions
|
@ -175,4 +175,16 @@ export class SystemAccountService {
|
|||
|
||||
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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue