File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { logger } from "firebase-functions/v2";
8
8
import { HttpsError , onCall } from "firebase-functions/v2/https" ;
9
9
// @ts -ignore
10
10
import { FirestoreCollection , Question } from "@examtraining/core" ;
11
- import { collectionRef , getDocument , migrateAnswersIfNeeded } from "./utils" ;
11
+ import { collectionRef , getDocument } from "./utils" ;
12
12
13
13
type CreateExamQuestionParams = {
14
14
slug : string ;
@@ -52,7 +52,7 @@ export const createExamQuestion = onCall<
52
52
) ;
53
53
}
54
54
55
- await migrateAnswersIfNeeded ( exam ) ;
55
+ // await migrateAnswersIfNeeded(exam);
56
56
57
57
// Add question
58
58
await collectionRef (
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { logger } from "firebase-functions/v2";
8
8
import { HttpsError , onCall } from "firebase-functions/v2/https" ;
9
9
// @ts -ignore
10
10
import { FirestoreCollection , Question } from "@examtraining/core" ;
11
- import { collectionRef , getDocument , migrateAnswersIfNeeded } from "./utils" ;
11
+ import { collectionRef , getDocument } from "./utils" ;
12
12
13
13
type EditExamQuestionParams = {
14
14
slug : string ;
@@ -53,7 +53,7 @@ export const editExamQuestion = onCall<
53
53
) ;
54
54
}
55
55
56
- await migrateAnswersIfNeeded ( exam ) ;
56
+ // await migrateAnswersIfNeeded(exam);
57
57
58
58
// Update question
59
59
const questionRef = collectionRef (
You can’t perform that action at this time.
0 commit comments