mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
better arg name
This commit is contained in:
parent
73fb123036
commit
2af31b6bfd
@ -155,10 +155,10 @@ export const isValidDateString = (dateString: string): boolean => {
|
||||
}
|
||||
|
||||
export const getOpenCreations = async (
|
||||
id: number,
|
||||
userId: number,
|
||||
timezoneOffset: number,
|
||||
): Promise<OpenCreation[]> => {
|
||||
const creations = await getUserCreation(id, timezoneOffset)
|
||||
const creations = await getUserCreation(userId, timezoneOffset)
|
||||
const creationDates = getCreationDates(timezoneOffset)
|
||||
return creationDates.map((date, index) => {
|
||||
return {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user