mirror of
https://github.com/0xShay/ticketchain.git
synced 2026-01-11 21:23:24 +00:00
add location and end date
This commit is contained in:
@@ -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
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user