File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
backend/typescript/services/implementations Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,13 @@ class AdminCommentService implements IAdminCommentService {
2525 /* eslint-disable class-methods-use-this */
2626
2727 async getAdminCommentsByApplicantRecordId (
28- reviewedApplicantRecordId : string ,
28+ applicantRecordId : string ,
2929 ) : Promise < AdminCommentDTO [ ] > {
3030 let adminComments : AdminComment [ ] = [ ] ;
3131 let adminCommentDTOs : Array < AdminCommentDTO > = [ ] ;
3232 try {
3333 adminComments = await AdminComment . findAll ( {
34- where : { applicantRecordId : reviewedApplicantRecordId } ,
34+ where : { applicantRecordId } ,
3535 } ) ;
3636 adminCommentDTOs = adminComments . map ( ( adminComment ) => ( {
3737 id : adminComment . id ,
@@ -43,7 +43,7 @@ class AdminCommentService implements IAdminCommentService {
4343 } ) ) ;
4444 } catch ( error : unknown ) {
4545 Logger . error (
46- `Failed to get admin comments by reviewedApplicantRecordId = ${ reviewedApplicantRecordId } . Reason = ${ getErrorMessage (
46+ `Failed to get admin comments by reviewedApplicantRecordId = ${ applicantRecordId } . Reason = ${ getErrorMessage (
4747 error ,
4848 ) } `,
4949 ) ;
You can’t perform that action at this time.
0 commit comments