Skip to content

Commit

Permalink
#00000 Improving Score of CSP for VAPT Issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinkyapandetekdi committed Feb 28, 2025
1 parent 71b7745 commit 5cd7b57
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/services/learnerAi/learnerAiService.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export const fetchGetSetResult = async (
collectionId: currentCollectionId,
totalSyllableCount: totalSyllableCount,
language: lang,
// user_id: getVirtualId(),
},
getHeaders()
);
Expand All @@ -91,7 +90,6 @@ export const getSetResultPractice = async ({
sub_session_id: subSessionId,
contentType: currentContentType,
session_id: sessionId,
// user_id: getVirtualId(),
totalSyllableCount: totalSyllableCount,
language: localStorage.getItem("lang"),
is_mechanics: mechanism && mechanism?.id ? true : false,
Expand All @@ -107,7 +105,6 @@ export const getSetResultPractice = async ({

export const updateLearnerProfile = async (lang, requestBody) => {
try {
// requestBody.user_id = getVirtualId();
const response = await axios.post(
`${API_LEARNER_AI_APP_HOST}/${config.URLS.UPDATE_LEARNER_PROFILE}/${lang}`,
requestBody,
Expand Down
3 changes: 0 additions & 3 deletions src/services/orchestration/orchestrationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export const addPointer = async (points, milestone) => {
const response = await axios.post(
`${API_BASE_URL_ORCHESTRATION}/${config.URLS.ADD_POINTER}`,
{
// userId: getVirtualId(),
sessionId: sessionId,
points: points,
language: lang,
Expand All @@ -78,7 +77,6 @@ export const createLearnerProgress = async (

try {
const requestBody = {
// userId: getVirtualId(),
sessionId: sessionId,
subSessionId: subSessionId,
milestoneLevel: milestoneLevel,
Expand Down Expand Up @@ -111,7 +109,6 @@ export const addLesson = async ({
const response = await axios.post(
`${API_BASE_URL_ORCHESTRATION}/${config.URLS.ADD_LESSON}`,
{
// userId: getVirtualId(),
sessionId: sessionId,
milestone: milestone,
lesson: lesson,
Expand Down

0 comments on commit 5cd7b57

Please sign in to comment.