diff --git a/service/mapper/student_outing_mapper.py b/service/mapper/student_outing_mapper.py index 4d7b444..7526d16 100644 --- a/service/mapper/student_outing_mapper.py +++ b/service/mapper/student_outing_mapper.py @@ -13,6 +13,7 @@ def get_student_outings_mapper(self, outings: List["Outing"], start: int, end: i for outing in outings[start:end]: outing_proto = StudentOuting() + outing_proto.outing_id = outing.outing_uuid outing_proto.place = outing.place outing_proto.reason = outing.reason outing_proto.start_time = int(time.mktime(outing.start_time.timetuple())) diff --git a/service/student_outing_service.py b/service/student_outing_service.py index 5692dc2..e604138 100644 --- a/service/student_outing_service.py +++ b/service/student_outing_service.py @@ -63,6 +63,7 @@ def get_outing_inform(self, request: proto.GetOutingInformRequest, context): return proto.GetOutingInformResponse( status=200, + outing_id=outing.outing_uuid, place=outing.place, reason=outing.reason, start_time=int(mktime(outing.start_time.timetuple())),