Skip to content

Commit

Permalink
omg
Browse files Browse the repository at this point in the history
  • Loading branch information
pulgueta committed Feb 7, 2024
1 parent 3984eb4 commit a805d56
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import { PaddleButtons } from './paddle-buttons';
import { currentUser } from '~/lib/auth/currentUser';
import { env } from '~/env/server.mjs';

const { lookup } = new IPData(env.IPDATA_KEY);
const ipData = new IPData(env.IPDATA_KEY);

export const PayButton = async () => {
const plansPromise = getPaidSubscriptions();
const userPromise = currentUser();
const countryPromise = lookup();
const countryPromise = ipData.lookup();

const [user, plans, country] = await Promise.all([
userPromise,
Expand Down

0 comments on commit a805d56

Please sign in to comment.