component fix

This commit is contained in:
aadamgough
2025-11-19 13:10:17 -08:00
parent 17a164508f
commit f093f97cc8
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
'use client'
import { useState } from 'react'
import { Check } from 'lucide-react'
import { useState } from 'react'
import { Button, Modal, ModalBody, ModalContent, ModalFooter, ModalHeader } from '@/components/emcn'
import { client } from '@/lib/auth/auth-client'
import { createLogger } from '@/lib/logs/console/logger'
@@ -13,6 +13,7 @@ import {
parseProvider,
} from '@/lib/oauth'
const logger = createLogger('OAuthRequiredModal')
export interface OAuthRequiredModalProps {

View File

@@ -1572,7 +1572,7 @@ export async function refreshOAuthToken(
const { headers, bodyParams } = buildAuthRequest(config, refreshToken)
// Refresh the token
const response = await fetch(tokenEndpoint, {
const response = await fetch(config.tokenEndpoint, {
method: 'POST',
headers,
body: new URLSearchParams(bodyParams).toString(),