fix code quality issues

This commit is contained in:
まっちゃとーにゅ 2024-02-25 04:30:06 +09:00
parent 552354c895
commit 9452287380
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
2 changed files with 2 additions and 3 deletions

View file

@ -71,7 +71,6 @@ export class AccountMoveService {
*/ */
@bindThis @bindThis
public async moveFromLocal(src: MiLocalUser, dst: MiLocalUser | MiRemoteUser): Promise<unknown> { public async moveFromLocal(src: MiLocalUser, dst: MiLocalUser | MiRemoteUser): Promise<unknown> {
const srcUri = this.userEntityService.getUserUri(src);
const dstUri = this.userEntityService.getUserUri(dst); const dstUri = this.userEntityService.getUserUri(dst);
// add movedToUri to indicate that the user has moved // add movedToUri to indicate that the user has moved

View file

@ -195,7 +195,7 @@ export class RedisSingleCache<T> {
export class MemoryKVCache<T> { export class MemoryKVCache<T> {
/** /**
* *
* @deprecated *
*/ */
public cache: Map<string, { date: number; value: T; }>; public cache: Map<string, { date: number; value: T; }>;
private lifetime: number; private lifetime: number;
@ -213,7 +213,7 @@ export class MemoryKVCache<T> {
@bindThis @bindThis
/** /**
* Mapにキャッシュをセットします * Mapにキャッシュをセットします
* @deprecated InternalEventなどで変更を全てのプロセス/ * InternalEventなどで変更を全てのプロセス/
*/ */
public set(key: string, value: T): void { public set(key: string, value: T): void {
this.cache.set(key, { this.cache.set(key, {