This commit is contained in:
Eric Daugherty 2026-02-09 18:03:16 -07:00 committed by GitHub
commit 7b788a2c56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,7 +48,7 @@ router.post('/', async (req: AuthRequest, res: Response) => {
const product = await productQueries.create(
userId,
url,
scrapedData.name,
scrapedData.name?.substring(0, 255) ?? null,
scrapedData.imageUrl,
refresh_interval || 3600,
scrapedData.stockStatus
@ -133,7 +133,7 @@ router.post('/', async (req: AuthRequest, res: Response) => {
const product = await productQueries.create(
userId,
url,
scrapedData.name,
scrapedData.name?.substring(0, 255) ?? null,
scrapedData.imageUrl,
refresh_interval || 3600,
scrapedData.stockStatus