summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/SystemAccountService.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/core/SystemAccountService.ts')
-rw-r--r--packages/backend/src/core/SystemAccountService.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/backend/src/core/SystemAccountService.ts b/packages/backend/src/core/SystemAccountService.ts
index dc10191497..3f3afe6561 100644
--- a/packages/backend/src/core/SystemAccountService.ts
+++ b/packages/backend/src/core/SystemAccountService.ts
@@ -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');
+ }
}