mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
replace any
This commit is contained in:
parent
2bdcea15f0
commit
99f641f1f9
@ -335,7 +335,8 @@ async function getUserCreations(ids: number[]): Promise<CreationMap[]> {
|
||||
id,
|
||||
creations: months.map((month) => {
|
||||
const creation = unionQuery.find(
|
||||
(raw: any) => parseInt(raw.month) === month && parseInt(raw.id) === id,
|
||||
(raw: { month: string; id: string; creation: number[] }) =>
|
||||
parseInt(raw.month) === month && parseInt(raw.id) === id,
|
||||
)
|
||||
return 1000 - (creation ? Number(creation.sum) / 10000 : 0)
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user