Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
Hire-Guru
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rishikumar
Hire-Guru
Commits
485cd218
Commit
485cd218
authored
May 03, 2026
by
AravindR-K
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix : Interview not creating bug fixed
parent
db700d73
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
6 deletions
+2
-6
Backend/routes/interview.js
Backend/routes/interview.js
+1
-5
Backend/uploads/1777791879841-618877326.pdf
Backend/uploads/1777791879841-618877326.pdf
+0
-0
Backend/uploads/1777792098199-960123446.zip
Backend/uploads/1777792098199-960123446.zip
+0
-0
Backend/uploads/1777792352669-184701832.zip
Backend/uploads/1777792352669-184701832.zip
+0
-0
Frontend/src/app/pages/admin/user-history/user-history.html
Frontend/src/app/pages/admin/user-history/user-history.html
+1
-1
No files found.
Backend/routes/interview.js
View file @
485cd218
...
@@ -27,14 +27,10 @@ router.post('/', authorize('admin', 'hr', 'pm'), async (req, res) => {
...
@@ -27,14 +27,10 @@ router.post('/', authorize('admin', 'hr', 'pm'), async (req, res) => {
return
res
.
status
(
400
).
json
({
message
:
'
Candidate and position are required
'
});
return
res
.
status
(
400
).
json
({
message
:
'
Candidate and position are required
'
});
}
}
// Validate candidate exists
and is a candidate
// Validate candidate exists
const
candidate
=
await
User
.
findById
(
candidateId
);
const
candidate
=
await
User
.
findById
(
candidateId
);
if
(
!
candidate
)
return
res
.
status
(
404
).
json
({
message
:
'
Candidate not found
'
});
if
(
!
candidate
)
return
res
.
status
(
404
).
json
({
message
:
'
Candidate not found
'
});
// Validate interviewer exists
const
interviewer
=
await
User
.
findById
(
interviewerId
);
if
(
!
interviewer
)
return
res
.
status
(
404
).
json
({
message
:
'
Interviewer not found
'
});
// Build quiz array if quiz IDs provided
// Build quiz array if quiz IDs provided
let
quizzes
=
[];
let
quizzes
=
[];
if
(
quizIds
&&
quizIds
.
length
>
0
)
{
if
(
quizIds
&&
quizIds
.
length
>
0
)
{
...
...
Backend/uploads/1777791879841-618877326.pdf
0 → 100644
View file @
485cd218
File added
Backend/uploads/1777792098199-960123446.zip
0 → 100644
View file @
485cd218
File added
Backend/uploads/1777792352669-184701832.zip
0 → 100644
View file @
485cd218
File added
Frontend/src/app/pages/admin/user-history/user-history.html
View file @
485cd218
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
<table
class=
"history-table"
>
<table
class=
"history-table"
>
<thead>
<thead>
<tr>
<tr>
<th>
#
</th>
<th>
Interview ID
</th>
<th>
Position
</th>
<th>
Position
</th>
<th>
Interviewer
</th>
<th>
Interviewer
</th>
<th>
Quizzes
</th>
<th>
Quizzes
</th>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment