Constellix made changes to their API. They added more search capabilities, but the changes are not backwards compatible. We need to use the exact parameter instead of name now.

This commit is contained in:
Wout 2020-04-09 19:15:32 +02:00
parent f03d7efb5e
commit e158b5ccf6

View File

@ -86,7 +86,7 @@ _get_root() {
return 1 return 1
fi fi
if ! _constellix_rest GET "domains/search?name=$h"; then if ! _constellix_rest GET "domains/search?exact=$h"; then
return 1 return 1
fi fi