From b2c4a6ce857b57afa162828e3d96c6c69912e8b9 Mon Sep 17 00:00:00 2001 From: Francis Date: Fri, 4 Feb 2022 14:24:39 +0900 Subject: [PATCH] 0.1.20 --- pyproject.toml | 2 +- rcs_pydantic/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ef5fe58..6602a05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rcs-pydantic" -version = "0.1.19" +version = "0.1.20" description = "" authors = ["xncbf "] keywords = ["pydantic", "rcs", "fastapi"] diff --git a/rcs_pydantic/main.py b/rcs_pydantic/main.py index 71ee408..fc79c3c 100644 --- a/rcs_pydantic/main.py +++ b/rcs_pydantic/main.py @@ -44,7 +44,7 @@ def __init__( def make_common_info(self, message_info: scheme.MessageInfo) -> scheme.CommonInfo: return scheme.CommonInfo( - msgId=uuid.uuid4(), + msgId=str(uuid.uuid4()), userContact=message_info.userContact, scheduleType=0, msgServiceType=enums.MessageServiceTypeEnum.RCS,