From 5ff074cc493a4707c27dc286a661caea142056d9 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Mon, 6 Nov 2023 10:36:27 +0100 Subject: [PATCH] fix(GODT-3106): Broken import route https://github.com/ProtonMail/go-proton-api/pull/123 --- go.mod | 2 +- go.sum | 4 ++-- tests/contact_test.go | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 6a6a381d..7d6c6085 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/Masterminds/semver/v3 v3.2.0 github.com/ProtonMail/gluon v0.17.1-0.20231025125916-5c7941465df8 github.com/ProtonMail/go-autostart v0.0.0-20210130080809-00ed301c8e9a - github.com/ProtonMail/go-proton-api v0.4.1-0.20231031073551-77833c9854ba + github.com/ProtonMail/go-proton-api v0.4.1-0.20231106093533-5f248dfc820d github.com/ProtonMail/gopenpgp/v2 v2.7.4-proton github.com/PuerkitoBio/goquery v1.8.1 github.com/abiosoft/ishell v2.0.0+incompatible diff --git a/go.sum b/go.sum index 64bfae74..eb7ec5d0 100644 --- a/go.sum +++ b/go.sum @@ -36,8 +36,8 @@ github.com/ProtonMail/go-message v0.13.1-0.20230526094639-b62c999c85b7 h1:+j+Kd/ github.com/ProtonMail/go-message v0.13.1-0.20230526094639-b62c999c85b7/go.mod h1:NBAn21zgCJ/52WLDyed18YvYFm5tEoeDauubFqLokM4= github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k= github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw= -github.com/ProtonMail/go-proton-api v0.4.1-0.20231031073551-77833c9854ba h1:Y/QyzTxqgMIYxiM+vY0G+WuYHgWSO1P2SkpQMxciTKk= -github.com/ProtonMail/go-proton-api v0.4.1-0.20231031073551-77833c9854ba/go.mod h1:WEXJqj5DSc2YI77SgXdpMY0nk33Qy92Vu2r4tOEazA8= +github.com/ProtonMail/go-proton-api v0.4.1-0.20231106093533-5f248dfc820d h1:LI2kvxBisX19f7lyMh0H6NcAHHg/Y7/x/xZWtxVrXOc= +github.com/ProtonMail/go-proton-api v0.4.1-0.20231106093533-5f248dfc820d/go.mod h1:WEXJqj5DSc2YI77SgXdpMY0nk33Qy92Vu2r4tOEazA8= github.com/ProtonMail/go-srp v0.0.7 h1:Sos3Qk+th4tQR64vsxGIxYpN3rdnG9Wf9K4ZloC1JrI= github.com/ProtonMail/go-srp v0.0.7/go.mod h1:giCp+7qRnMIcCvI6V6U3S1lDDXDQYx2ewJ6F/9wdlJk= github.com/ProtonMail/gopenpgp/v2 v2.7.4-proton h1:8tqHYM6IGsdEc6Vxf1TWiwpHNj8yIEQNACPhxsDagrk= diff --git a/tests/contact_test.go b/tests/contact_test.go index a4cf33e5..c7aaedc2 100644 --- a/tests/contact_test.go +++ b/tests/contact_test.go @@ -362,8 +362,8 @@ func createContact(ctx context.Context, c *proton.Client, contact, name string, if err != nil { return err } - if res[0].Response.Response.Code != proton.SuccessCode { - return errors.New("APIError " + res[0].Response.Response.Message + " while creating contact") + if res[0].Response.Code != proton.SuccessCode { + return errors.New("APIError " + res[0].Response.Message + " while creating contact") } if settings != nil {