mirror of
https://github.com/clucraft/PriceGhost.git
synced 2026-06-29 15:59:39 +02:00
Merge bdc87cad86 into 33b944588d
This commit is contained in:
commit
7b788a2c56
1 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ router.post('/', async (req: AuthRequest, res: Response) => {
|
||||||
const product = await productQueries.create(
|
const product = await productQueries.create(
|
||||||
userId,
|
userId,
|
||||||
url,
|
url,
|
||||||
scrapedData.name,
|
scrapedData.name?.substring(0, 255) ?? null,
|
||||||
scrapedData.imageUrl,
|
scrapedData.imageUrl,
|
||||||
refresh_interval || 3600,
|
refresh_interval || 3600,
|
||||||
scrapedData.stockStatus
|
scrapedData.stockStatus
|
||||||
|
|
@ -133,7 +133,7 @@ router.post('/', async (req: AuthRequest, res: Response) => {
|
||||||
const product = await productQueries.create(
|
const product = await productQueries.create(
|
||||||
userId,
|
userId,
|
||||||
url,
|
url,
|
||||||
scrapedData.name,
|
scrapedData.name?.substring(0, 255) ?? null,
|
||||||
scrapedData.imageUrl,
|
scrapedData.imageUrl,
|
||||||
refresh_interval || 3600,
|
refresh_interval || 3600,
|
||||||
scrapedData.stockStatus
|
scrapedData.stockStatus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue