Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
suejung-sentry committed Jan 14, 2025
1 parent 4aacfb6 commit 2dc8211
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/account/useUpdatePaymentMethod.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { useElements, useStripe } from '@stripe/react-stripe-js'
import { useMutation, useQueryClient } from '@tanstack/react-query'

import config from 'config'

import Api from 'shared/api'

import { useCreateStripeSetupIntent } from './useCreateStripeSetupIntent'
Expand Down Expand Up @@ -59,7 +61,7 @@ export function useUpdatePaymentMethod({
},
},
// eslint-disable-next-line camelcase
return_url: `/plan/${provider}/${owner}`,
return_url: `${config.BASE_URL}/plan/${provider}/${owner}`,
},
})
.then((result) => {
Expand Down

0 comments on commit 2dc8211

Please sign in to comment.