clean up
This commit is contained in:
parent
7b3e6ee0cb
commit
8e5a967f01
|
@ -84,13 +84,11 @@ export class ApDbResolverService implements OnApplicationShutdown {
|
|||
|
||||
try {
|
||||
const acct = misskey.acct.parseUrl(uri.toString());
|
||||
if (acct) {
|
||||
return {
|
||||
local: this.utilityService.isSelfHost(acct.host),
|
||||
type: 'acct',
|
||||
acct,
|
||||
};
|
||||
}
|
||||
return {
|
||||
local: this.utilityService.isSelfHost(acct.host),
|
||||
type: 'acct',
|
||||
acct,
|
||||
};
|
||||
} finally {
|
||||
// no-op
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue