Skip to content

Commit

Permalink
fix: remove apiDomain var in assistant package (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
sedationh authored Nov 18, 2024
1 parent 6804f8f commit 3e7db08
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions assistant/src/services/UserController.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import axios from 'axios';

const apiDomain = process.env.NEXT_PUBLIC_API_DOMAIN;

// Get the public bot profile by id
export async function getUserInfo(apiDomain: string, { clientId }: { clientId?: string }) {
const response = await axios.get(`${apiDomain}/api/auth/userinfo?clientId=${clientId}`, { withCredentials: true });
Expand Down

0 comments on commit 3e7db08

Please sign in to comment.