RobinHeidenis / bucketlist

Movie, show, and bucket list app to keep track of all the things you still want to watch or do
https://bucketlist.fractum.nl
1 stars 0 forks source link

feat: 🎸 add route to add a watched item to the user's profile #94

Closed RobinHeidenis closed 9 months ago

RobinHeidenis commented 9 months ago

✅ Closes: BUC-84

linear[bot] commented 9 months ago
BUC-84 Create backend route to add an item to the user's profile watched table

This should be a generic route, so both episodes and movies can be set to watched on the same endpoint. The parameters for this route should be: ``` id: string (id of the movie or episode), type: "episode" | "movie", date?: Date | string (? unsure of what the best option is here, check in daisyUI what the datepicker provides), ``` The `userId` can be retrieved from the `ctx.auth` object.

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bucketlist ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2023 8:17pm