From f45c0d146dd4723ed8a26fb4339eeefda2258b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Gaud=C3=A9?= Date: Thu, 6 May 2021 09:23:00 +0200 Subject: [PATCH] =?UTF-8?q?Prise=20en=20compte=20du=20'+'=20dans=20le=20nu?= =?UTF-8?q?m=C3=A9ro=20de=20t=C3=A9l=C3=A9phone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/config/config.go | 2 +- misc/powow.http | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index dd8a6cd..188053a 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -80,7 +80,7 @@ func NewDefault() *Config { }, Powow: PowowConfig{ APIKey: "powow", - InvalidPhoneNumber: "33666666666", + InvalidPhoneNumber: "+33666666666", }, } } diff --git a/misc/powow.http b/misc/powow.http index 88d48cc..b7917c1 100644 --- a/misc/powow.http +++ b/misc/powow.http @@ -48,6 +48,6 @@ APIKey=powow &Command=TransactionalSms.Send &ResponseFormat=JSON &SmsID={{SmsID}} -&MobilePhoneNumber=+33666666666 +&MobilePhoneNumber=%2B33666666666 &TimeToSend=2017-01-01 10:00:00 &CustomData=a%3A1%3A%7Bs%3A9%3A%22Firstname%22%3Bs%3A8%3A%22am9obg%3D%3D%22%3B%7D \ No newline at end of file