summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/WebfingerService.ts
diff options
context:
space:
mode:
authorxtex <xtexchooser@duck.com>2023-07-19 12:01:14 +0800
committerGitHub <noreply@github.com>2023-07-19 13:01:14 +0900
commitbf9e74ca053e7c541f0457c0cd12bfe2acfc08bb (patch)
tree923db6bd739fbea24bb2579b93ae0565eec6dec3 /packages/backend/src/core/WebfingerService.ts
parentfix(frontend): Fix cat ears are awkward on reply modal (#11309) (diff)
downloadsharkey-bf9e74ca053e7c541f0457c0cd12bfe2acfc08bb.tar.gz
sharkey-bf9e74ca053e7c541f0457c0cd12bfe2acfc08bb.tar.bz2
sharkey-bf9e74ca053e7c541f0457c0cd12bfe2acfc08bb.zip
fix: failed to resolve acct URI which points to local Person (#11024)
* fix: resolving alias for local users (#9199) Signed-off-by: xtex <xtexchooser@duck.com> * style: return type for RemoteUserResolveService#resolveSelf Signed-off-by: xtex <xtexchooser@duck.com> * docs: update CHANGELOG Signed-off-by: xtex <xtexchooser@duck.com> * style: fix typecheck Signed-off-by: xtex <xtexchooser@duck.com> --------- Signed-off-by: xtex <xtexchooser@duck.com> Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Diffstat (limited to 'packages/backend/src/core/WebfingerService.ts')
-rw-r--r--packages/backend/src/core/WebfingerService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/core/WebfingerService.ts b/packages/backend/src/core/WebfingerService.ts
index f58a6a10fc..6b2428cdf0 100644
--- a/packages/backend/src/core/WebfingerService.ts
+++ b/packages/backend/src/core/WebfingerService.ts
@@ -6,12 +6,12 @@ import { query as urlQuery } from '@/misc/prelude/url.js';
import { HttpRequestService } from '@/core/HttpRequestService.js';
import { bindThis } from '@/decorators.js';
-type ILink = {
+export type ILink = {
href: string;
rel?: string;
};
-type IWebFinger = {
+export type IWebFinger = {
links: ILink[];
subject: string;
};