Skip to content

Commit

Permalink
Merge 7e77d43 into 8cf19c3
Browse files Browse the repository at this point in the history
  • Loading branch information
Fifciu committed Jan 11, 2021
2 parents 8cf19c3 + 7e77d43 commit 428c467
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* istanbul ignore file */
const restrictedOperations = {
anonymous: [
'createCart'
'createCart',
'createMyShoppingList'
],
user: [
'customerSignMeIn',
Expand Down
3 changes: 1 addition & 2 deletions packages/core/core/src/factories/useWishlistFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Ref, computed } from '@vue/composition-api';
import { sharedRef, Logger, generateContext } from '../utils';

export interface UseWishlistFactoryParams<WISHLIST, WISHLIST_ITEM, PRODUCT> extends FactoryParams {
load: (context: Context, params: { customQuery?: CustomQuery }) => Promise<WISHLIST>;
load: (context: Context, params: { customQuery?: any }) => Promise<WISHLIST>;
addItem: (
context: Context,
params: {
Expand Down Expand Up @@ -84,7 +84,6 @@ export const useWishlistFactory = <WISHLIST, WISHLIST_ITEM, PRODUCT>(

const load = async ({ customQuery } = { customQuery: undefined }) => {
Logger.debug('useWishlist.load');

if (wishlist.value) return;

try {
Expand Down

0 comments on commit 428c467

Please sign in to comment.