fix build

This commit is contained in:
hzrd149
2024-01-13 14:18:15 +00:00
parent 5de4838bc9
commit 7bcdc86dbd

View File

@@ -214,6 +214,7 @@ class ChannelMetadataService {
async pruneDatabaseCache() { async pruneDatabaseCache() {
const keys = await db.getAllKeysFromIndex( const keys = await db.getAllKeysFromIndex(
"channelMetadata", "channelMetadata",
// @ts-ignore
"created", "created",
IDBKeyRange.upperBound(dayjs().subtract(1, "week").unix()), IDBKeyRange.upperBound(dayjs().subtract(1, "week").unix()),
); );