mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 12:07:43 +02:00
fix build
This commit is contained in:
@@ -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()),
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user