Skip to content

Commit 63b4c1b

Browse files
authored
fix url for credit usage
1 parent 1aab39f commit 63b4c1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forms/ProductLink.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class ProductLinkForm extends React.Component {
6767

6868
let useCreditsQueryParams = ''
6969
if (fields.applyCredits)
70-
useCreditsQueryParams = '/useCredits=true'
70+
useCreditsQueryParams = '&useCredits=true'
7171

7272
const link = `https://dukaan.codingblocks.com/buy?productId=${productId}&oneauthId=${oneauthId}${useCreditsQueryParams}`
7373
this.props.ongenerateLink(link)

0 commit comments

Comments
 (0)