fix: only query relevant records when looking up record ids on Ionos API
All checks were successful
CI / test (pull_request) Successful in 38s

This commit is contained in:
2024-12-27 16:49:20 +01:00
parent ef57421268
commit 67231c3d78
3 changed files with 29 additions and 19 deletions

View File

@@ -82,7 +82,7 @@ func (m *MockIonosAPI) GetZoneId(tld string) (string, error) {
return m.GetZoneIdFunc(tld)
}
func (m *MockIonosAPI) HttpCall(method string, url string, body io.Reader) (*http.Response, error) {
func (m *MockIonosAPI) HttpCall(method string, url string, body io.Reader, queryParams map[string]string) (*http.Response, error) {
return m.HttpCallFunc(method, url, body)
}