fix : last step of creat product dor admin
This commit is contained in:
@@ -222,7 +222,7 @@ class ProductService {
|
|||||||
{
|
{
|
||||||
imagesUrl,
|
imagesUrl,
|
||||||
step: CreateProductStep.Image,
|
step: CreateProductStep.Image,
|
||||||
status: ProductStatus.Pending,
|
status: ProductStatus.Approved,
|
||||||
},
|
},
|
||||||
{ new: true },
|
{ new: true },
|
||||||
);
|
);
|
||||||
@@ -343,7 +343,7 @@ class ProductService {
|
|||||||
{
|
{
|
||||||
imagesUrl,
|
imagesUrl,
|
||||||
step: CreateProductStep.Image,
|
step: CreateProductStep.Image,
|
||||||
status: ProductStatus.Approved,
|
status: ProductStatus.Pending,
|
||||||
},
|
},
|
||||||
{ new: true },
|
{ new: true },
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user