Skip to content

Commit

Permalink
fix(js-api-client): remove void
Browse files Browse the repository at this point in the history
  • Loading branch information
dhairyadwivedi committed Jul 3, 2024
1 parent a123c34 commit 35ece7c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/js-api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@crystallize/js-api-client",
"license": "MIT",
"version": "2.6.0",
"version": "2.6.1",
"author": "Crystallize <hello@crystallize.com> (https://crystallize.com)",
"contributors": [
"Sébastien Morel <sebastien@crystallize.com>",
Expand Down
6 changes: 3 additions & 3 deletions components/js-api-client/src/core/editCart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Deps = {
apiClient: ClientInterface;
};

export const placeCart = async (cartId: string, { apiClient }: Deps, extraQuery?: any): Promise<void> => {
export const placeCart = async (cartId: string, { apiClient }: Deps, extraQuery?: any) => {
const mutation = {
place: {
__args: {
Expand Down Expand Up @@ -75,7 +75,7 @@ export const setCartMeta = async (
merge: Boolean,
{ apiClient }: Deps,
extraQuery?: any,
): Promise<void> => {
) => {
const mutation = {
setMeta: {
__args: {
Expand All @@ -97,7 +97,7 @@ export const setCartCustomer = async (
isGuest: boolean,
{ apiClient }: Deps,
extraQuery?: any,
): Promise<void> => {
) => {
const mutation = {
setCustomer: {
__args: {
Expand Down

0 comments on commit 35ece7c

Please sign in to comment.