12 lines
297 B
TypeScript
12 lines
297 B
TypeScript
|
|
import { apiClient } from './client';
|
||
|
|
|
||
|
|
export interface SupportRequestPayload {
|
||
|
|
name: string;
|
||
|
|
contact: string;
|
||
|
|
message: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
export async function submitSupportRequest(payload: SupportRequestPayload): Promise<void> {
|
||
|
|
await apiClient.post('/api/support-requests', payload);
|
||
|
|
}
|