add location and end date

This commit is contained in:
Ayush Acharjya
2024-10-27 03:23:44 +00:00
parent 0641d2e0a8
commit d56bc64f45
2 changed files with 25 additions and 3 deletions

View File

@@ -58,9 +58,11 @@ export const createEvent = async ({
const tx = await contract.createEvent(
name,
description,
location,
capacity,
ethers.utils.parseEther(ticketPrice.toString()),
Math.floor(startDate.getTime() / 1000),
Math.floor(endDate.getTime() / 1000),
images
);