fix(medusa): Revert status type in API (#5428)
This commit is contained in:
@@ -132,6 +132,7 @@ const useEditProductActions = (productId: string) => {
|
||||
const newStatus = currentStatus === "published" ? "draft" : "published"
|
||||
updateProduct.mutate(
|
||||
{
|
||||
// @ts-ignore TODO fix update type in API
|
||||
status: newStatus,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user