From 5ab3f85bc7b8245b58f7ec0f8d2088d4684cb4ec Mon Sep 17 00:00:00 2001 From: Maly Date: Mon, 12 Apr 2021 02:38:54 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20Pick=20=EC=97=B0=EB=8F=99=20&=20?= =?UTF-8?q?=EB=AC=B8=EC=9E=90=20=EB=94=94=EB=B2=84=EA=B7=B8=20=EB=AA=A8?= =?UTF-8?q?=EB=93=9C=20=ED=95=B4=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- domain/usecase/go_out_usecase.py | 2 +- infrastructure/sms/sms_service_impl.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/domain/usecase/go_out_usecase.py b/domain/usecase/go_out_usecase.py index efe1951..7f22dd7 100644 --- a/domain/usecase/go_out_usecase.py +++ b/domain/usecase/go_out_usecase.py @@ -48,5 +48,5 @@ def run(self, uuid, outing_id, x_request_id): ) self.pick_service.absent( - int(f"{student._grade}{student._group}{student._student_number}"), + int(f"{student._grade}{student._group}{str(student._student_number).zfill(2)}"), datetime.fromtimestamp(time.time()), outing.end_time) diff --git a/infrastructure/sms/sms_service_impl.py b/infrastructure/sms/sms_service_impl.py index a88cd00..36c3793 100644 --- a/infrastructure/sms/sms_service_impl.py +++ b/infrastructure/sms/sms_service_impl.py @@ -19,7 +19,7 @@ def send(self, target_number: str, message: str): 'receiver': target_number, 'msg': message, 'msg_type': 'SMS', - 'testmode_yn': 'Y' + 'testmode_yn': 'N' } send_response = requests.post(send_url, data=sms_data)