fix/saleor: handle non-existing checkout

This commit is contained in:
Zaiste
2021-06-10 21:40:12 +02:00
parent 62f5dead0d
commit 4492f3051c
3 changed files with 56 additions and 31 deletions

View File

@@ -18,7 +18,7 @@ export default function getSiteInfoOperation({ commerce }: OperationContext<Prov
query?: string
config?: Partial<SaleorConfig>
preview?: boolean
variables?: any
variables?: any
} = {}): Promise<GetSiteInfoResult> {
const cfg = commerce.getConfig(config)