fix(medusa): Revert status type in API (#5428)

This commit is contained in:
Oli Juhl
2023-10-26 08:11:01 +02:00
committed by GitHub
parent 2ac05066ac
commit ebba93e03d
3 changed files with 8 additions and 1 deletions
@@ -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,
},
{