remove final use of any type in code

This commit is contained in:
2025-04-05 18:37:18 +02:00
parent 39b31e848c
commit 5b5886e3a1

View File

@@ -16,7 +16,7 @@ export async function lootboxReady(user: HelixUser | null): Promise<lootboxReady
return { result: true, lastlootbox: 0, DBuser }
}
export async function resetLootboxTimer(user: any) {
export async function resetLootboxTimer(user: User) {
const data = { lastlootbox: new Date(Date.now()).toISOString() }
await pb.collection('users').update(user.id, data)
}