fix(backend): reject changed their date formatting
All checks were successful
Publish docker image / Publish (push) Successful in 17m30s

This commit is contained in:
Ashhhleyyy 2024-09-26 12:39:11 +01:00
parent af604e5aa8
commit e88624b916
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -11,7 +11,7 @@ from .utils import format_checkin_date
router = APIRouter(prefix='/3p-proxy') router = APIRouter(prefix='/3p-proxy')
def reformat_reject_date(date: str): def reformat_reject_date(date: str):
return format_checkin_date(datetime.strptime(date, '%a %b %d %Y')) return format_checkin_date(datetime.strptime(date, '%Y-%m-%d'))
def make_client_session(): def make_client_session():
ssl_context = ssl.create_default_context(cafile=certifi.where()) ssl_context = ssl.create_default_context(cafile=certifi.where())