Skip to content

Commit

Permalink
fix(backend): latestRequestReceivedAt이 제대로 반영되지 않음 (misskey-dev/missk…
Browse files Browse the repository at this point in the history
  • Loading branch information
noridev committed Nov 7, 2023
1 parent ac50bc6 commit b26989c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG_CHERRYPICK.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2023xx](CHANGE
- Enhance: 사용자 차단 개선 (Renote Part) (misskey-dev/misskey#12089)
- Fix: 장시간 기다려도 마이그레이션이 완료되지 않을 수 있음
- Fix: Redis 에서 TL 캐시를 반환하지 않으면 '고양이만 보기'가 작동하지 않을 수 있음
- Fix: latestRequestReceivedAt이 제대로 반영되지 않음 (misskey-dev/misskey#12270)

---

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class InstanceEntityService {
faviconUrl: instance.faviconUrl,
themeColor: instance.themeColor,
infoUpdatedAt: instance.infoUpdatedAt ? instance.infoUpdatedAt.toISOString() : null,
latestRequestReceivedAt: instance.latestRequestReceivedAt ? instance.latestRequestReceivedAt.toISOString() : null,
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,10 @@ export const packedFederationInstanceSchema = {
optional: false, nullable: true,
format: 'date-time',
},
latestRequestReceivedAt: {
type: 'string',
optional: false, nullable: true,
format: 'date-time',
},
},
} as const;

0 comments on commit b26989c

Please sign in to comment.