import apiClient from './index';

/**
 * Submits public feedback.
 * This endpoint is for unauthenticated users (guests).
 * @param formData The form data containing the feedback details and any files.
 * @returns A promise that resolves on successful submission.
 */
export const submitPublicFeedback = (formData: FormData): Promise<any> => {
  return apiClient.post('/public/feedback', formData, {
    headers: {
      'Content-Type': 'multipart/form-data',
    },
  });
}; 