Skip to content

Commit 8a715db

Browse files
committed
removed debug code
1 parent 623d75e commit 8a715db

3 files changed

Lines changed: 0 additions & 8 deletions

File tree

client/src/services/apiService.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,6 @@ export function createApiInterceptor() {
165165
export function getHeaders(type: string): object {
166166
const authStore = useAuthStore();
167167
const token = authStore.getStorageItem(type);
168-
169-
console.info("*********** apiService token: " + token);
170-
171168
return {
172169
accept: "application/json",
173170
Authorization: "Bearer " + token,
@@ -178,9 +175,6 @@ export function getHeaders(type: string): object {
178175
export function getPostHeaders(type: string): object {
179176
const authStore = useAuthStore();
180177
const token = authStore.getStorageItem(type);
181-
182-
console.info("*********** apiService: " + token);
183-
184178
return {
185179
accept: "application/json",
186180
Authorization: "Bearer " + token,

server/src/controllers/seb-server/exam-sebsettings.controller.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export async function publishSettings(req: Request, res: Response){
7474

7575
export async function undoChanges(req: Request, res: Response){
7676
try{
77-
console.info("*********** exam-sebsettings.controller token: " + req.headers.authorization);
7877
const [exam, status] = await examSEBSettingsService.undoChanges(req.headers.authorization, req.params.id);
7978
return res.status(status).json(exam);
8079

server/src/services/seb-server/exam-sebsettings.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ export async function publishSettings(token: string, examId: string): Promise<[o
4444
}
4545

4646
export async function undoChanges(token: string, examId: string): Promise<[object, number]> {
47-
console.info("*********** exam-sebsettings.service token: " + token);
4847
const url: string = constants.EXAM_SEB_SETTINGS_ENDPOINT + "/" + examId + "/undo-changes"
4948
const {data, status} = await apiService.api.post(url, "", {headers: apiService.getHeaders(token)});
5049
return [data, status];

0 commit comments

Comments
 (0)