remove console logs

This commit is contained in:
nflnkr 2024-02-10 15:41:20 +03:00
parent b61e8c6571
commit c1ccc5d7c5
2 changed files with 2 additions and 5 deletions

@ -6,7 +6,6 @@ import type { AxiosError } from "axios";
let SESSIONS = "";
export const publicationMakeRequest = ({ url, body }: any) => {
console.log(body);
return axios(url, {
data: body,
headers: {
@ -59,7 +58,7 @@ export async function getData(quizId: string): Promise<{
export function sendAnswer({ questionId, body, qid }: any) {
const formData = new FormData();
console.log(qid);
const answers = [
{
question_id: questionId,
@ -78,7 +77,6 @@ export function sendAnswer({ questionId, body, qid }: any) {
//body ={file, filename}
export function sendFile({ questionId, body, qid }: any) {
console.log(body);
const formData = new FormData();
const answers: any = [

@ -93,7 +93,6 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => {
const filteredFC: any = {};
for (const i in FCcopy) {
const field = FCcopy[i];
console.log(filteredFC);
if (field.used) {
filteredFC[i] = field;
}