diff --git a/pages/produkt/[slug].js b/pages/produkt/[slug].js index 04aed95e5..fe3347897 100644 --- a/pages/produkt/[slug].js +++ b/pages/produkt/[slug].js @@ -36,7 +36,7 @@ export default withRouter(Produkt); export async function getServerSideProps({ query: { productId } }) { const res = await client.query({ query: GET_SINGLE_PRODUCT, - variables: { productId }, + variables: { id: productId }, }); return {