From 437e9f9e5745b409d4bd8855dcd8c6b860ef911d Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Wed, 28 Jul 2021 16:46:56 +0200 Subject: [PATCH] Fix OVH redirect URL --- providers/ovh_settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/ovh_settings.go b/providers/ovh_settings.go index 9741be9..c994f39 100644 --- a/providers/ovh_settings.go +++ b/providers/ovh_settings.go @@ -82,7 +82,7 @@ func settingsAskCredentials(cfg *config.Options, recallid int64, session *happyd } // Generate customer key - ckReq := client.NewCkRequestWithRedirection(cfg.BuildURL_noescape("/providers/new/ovh.OVHAPI/2?recall=%d", recallid)) + ckReq := client.NewCkRequestWithRedirection(cfg.BuildURL_noescape("/providers/new/OVHAPI/2?recall=%d", recallid)) ckReq.AddRecursiveRules(ovh.ReadWrite, "/domain") ckReq.AddRules(ovh.ReadOnly, "/me")