the cleanup
This commit is contained in:
@@ -17,7 +17,7 @@ export interface UpdateEmailRequestDto {
|
||||
status?: string;
|
||||
}
|
||||
|
||||
const API_BASE = process.env.NEXT_PUBLIC_API_BASE_URL || 'http://localhost:8080';
|
||||
const API_BASE = process.env.NEXT_PUBLIC_API_BASE_URL || '';
|
||||
|
||||
export async function fetchEmailRequests(token: string): Promise<EmailRequest[]> {
|
||||
const response = await fetch(`${API_BASE}/api/email`, {
|
||||
|
||||
Reference in New Issue
Block a user