From 7c0ae74fbd144549c35867b1bccfe6d4411a9ddf Mon Sep 17 00:00:00 2001 From: Joris Pennings Date: Wed, 12 Jun 2024 15:41:27 +0200 Subject: [PATCH] Change GLOBAL endpoint --- CHANGES.md | 4 ++++ cm_text/gateways.py | 2 +- cm_text/version.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1f5a024..7f7bf1d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,10 @@ # Changelog All notable changes to this project will be documented in this file. +## [2.0.4] - 2024-06-12 (Joris Pennings) +### Changed +- Global gateway url + ## [2.0.3] - 2023-03-28 (ricosuave73) ### Fixed - Messages collection moved from class to instance. PR by sheepsy90. diff --git a/cm_text/gateways.py b/cm_text/gateways.py index 3deb50b..82565fc 100644 --- a/cm_text/gateways.py +++ b/cm_text/gateways.py @@ -3,7 +3,7 @@ class Gateways: """ Class containing Gateway endpoints. """ - Global = 'https://gw.cmtelecom.com/v1.0/message' #Global Endpoint URL + Global = 'https://gw.messaging.cm.com/v1.0/message' #Global Endpoint URL CN = 'https://gw-cn.cmtelecom.com/v1.0/message' #China Mainland Endpoint URL UK = 'https://gw-uk.cmtelecom.com/v1.0/message' #London Endpoint URL ZA = 'https://gw.cmtelecom.co.za/v1.0/message' #South Africa Endpoint URL diff --git a/cm_text/version.py b/cm_text/version.py index fbcf810..b582441 100644 --- a/cm_text/version.py +++ b/cm_text/version.py @@ -1,2 +1,2 @@ -__version__ = '2.0.3' +__version__ = '2.0.4'