remove console logs
This commit is contained in:
parent
b61e8c6571
commit
c1ccc5d7c5
@ -6,7 +6,6 @@ import type { AxiosError } from "axios";
|
|||||||
let SESSIONS = "";
|
let SESSIONS = "";
|
||||||
|
|
||||||
export const publicationMakeRequest = ({ url, body }: any) => {
|
export const publicationMakeRequest = ({ url, body }: any) => {
|
||||||
console.log(body);
|
|
||||||
return axios(url, {
|
return axios(url, {
|
||||||
data: body,
|
data: body,
|
||||||
headers: {
|
headers: {
|
||||||
@ -59,7 +58,7 @@ export async function getData(quizId: string): Promise<{
|
|||||||
|
|
||||||
export function sendAnswer({ questionId, body, qid }: any) {
|
export function sendAnswer({ questionId, body, qid }: any) {
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
console.log(qid);
|
|
||||||
const answers = [
|
const answers = [
|
||||||
{
|
{
|
||||||
question_id: questionId,
|
question_id: questionId,
|
||||||
@ -78,7 +77,6 @@ export function sendAnswer({ questionId, body, qid }: any) {
|
|||||||
|
|
||||||
//body ={file, filename}
|
//body ={file, filename}
|
||||||
export function sendFile({ questionId, body, qid }: any) {
|
export function sendFile({ questionId, body, qid }: any) {
|
||||||
console.log(body);
|
|
||||||
const formData = new FormData();
|
const formData = new FormData();
|
||||||
|
|
||||||
const answers: any = [
|
const answers: any = [
|
||||||
|
@ -93,7 +93,6 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => {
|
|||||||
const filteredFC: any = {};
|
const filteredFC: any = {};
|
||||||
for (const i in FCcopy) {
|
for (const i in FCcopy) {
|
||||||
const field = FCcopy[i];
|
const field = FCcopy[i];
|
||||||
console.log(filteredFC);
|
|
||||||
if (field.used) {
|
if (field.used) {
|
||||||
filteredFC[i] = field;
|
filteredFC[i] = field;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user