mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-26 06:10:20 +01:00
fix
This commit is contained in:
parent
04090c80f3
commit
be219d27bc
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ export class ProxyAccountService {
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public async fetch(): Promise<MiLocalUser | null> {
|
public async fetch(): Promise<MiLocalUser | null> {
|
||||||
|
if (this.meta.proxyAccountId == null) return null;
|
||||||
const cached = this.cache.get();
|
const cached = this.cache.get();
|
||||||
if (cached) return cached;
|
if (cached) return cached;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue