From 2db60b7cf1f1a190429c987dfb99c6473085d9a0 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Wed, 3 Jul 2024 09:13:08 +0700 Subject: [PATCH] feat: fixing request for information --- ...equest_for_information_objection.mapper.go | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/module/request_for_information_objection/mapper/request_for_information_objection.mapper.go b/app/module/request_for_information_objection/mapper/request_for_information_objection.mapper.go index eac7518..6fdeb97 100644 --- a/app/module/request_for_information_objection/mapper/request_for_information_objection.mapper.go +++ b/app/module/request_for_information_objection/mapper/request_for_information_objection.mapper.go @@ -8,16 +8,16 @@ import ( func RequestForInformationObjectionResponseMapper(requestForInformationObjectionReq *entity.RequestForInformationObjection) (requestForInformationObjectionRes *res.RequestForInformationObjectionResponse) { if requestForInformationObjectionReq != nil { requestForInformationObjectionRes = &res.RequestForInformationObjectionResponse{ - ID: requestForInformationObjectionReq.ID, - RequestForInformationId: requestForInformationObjectionReq.RequestForInformationId, - DocumentName: requestForInformationObjectionReq.DocumentName, - MainReason: requestForInformationObjectionReq.MainReason, - SecondaryReason: requestForInformationObjectionReq.SecondaryReason, - CreatedById: requestForInformationObjectionReq.CreatedById, - StatusId: requestForInformationObjectionReq.StatusId, - IsActive: requestForInformationObjectionReq.IsActive, - CreatedAt: requestForInformationObjectionReq.CreatedAt, - UpdatedAt: requestForInformationObjectionReq.UpdatedAt, + ID: requestForInformationObjectionReq.ID, + RequestForInformationItemId: requestForInformationObjectionReq.RequestForInformationItemId, + DocumentName: requestForInformationObjectionReq.DocumentName, + MainReason: requestForInformationObjectionReq.MainReason, + SecondaryReason: requestForInformationObjectionReq.SecondaryReason, + CreatedById: requestForInformationObjectionReq.CreatedById, + StatusId: requestForInformationObjectionReq.StatusId, + IsActive: requestForInformationObjectionReq.IsActive, + CreatedAt: requestForInformationObjectionReq.CreatedAt, + UpdatedAt: requestForInformationObjectionReq.UpdatedAt, } } return requestForInformationObjectionRes