mirror of
https://github.com/KevinMidboe/planetposen-backend.git
synced 2025-10-29 16:30:13 +00:00
Resolved prettier & eslint issues
This commit is contained in:
@@ -109,7 +109,7 @@ async function addSku(req: Request, res: Response) {
|
||||
const skus = await productRepository.getSkus(product_id);
|
||||
|
||||
if (!skus.find((sku) => sku.default_price === true)) {
|
||||
const setDefaultResponse = await productRepository.setSkuDefaultPrice(
|
||||
await productRepository.setSkuDefaultPrice(
|
||||
product_id,
|
||||
skus[skus.length - 1].sku_id
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user