We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a12e9c commit ad3fdcaCopy full SHA for ad3fdca
pages/produkt/[slug].js
@@ -36,7 +36,7 @@ export default withRouter(Produkt);
36
export async function getServerSideProps({ query: { productId } }) {
37
const res = await client.query({
38
query: GET_SINGLE_PRODUCT,
39
- variables: { productId },
+ variables: { id: productId },
40
});
41
42
return {
0 commit comments