Skip to content

Commit

Permalink
ECP-8327 Allow saving multiple statedata - Returning JsonResponse for…
Browse files Browse the repository at this point in the history
… the else part
  • Loading branch information
khushboo-singhvi committed Jan 5, 2024
1 parent 438dfc4 commit e40023f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Controller/StoreApi/OrderApi/OrderApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ public function deleteGiftCardStateData(SalesChannelContext $context, Request $r
return new JsonResponse(['token' => $context->getToken()]);
}
//return exception
else
else {
return new JsonResponse('StateData is not available.');
}
}
}
}

0 comments on commit e40023f

Please sign in to comment.