better arg name

This commit is contained in:
Moriz Wahl 2023-03-10 11:59:01 +01:00
parent 73fb123036
commit 2af31b6bfd

View File

@ -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 {