Skip to content

Commit

Permalink
Service status added
Browse files Browse the repository at this point in the history
  • Loading branch information
bubundas17 committed Dec 16, 2023
1 parent beb34fb commit d66b15e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/css/style.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion scalewithus.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ function scalewithus_CreateAccount(array $params)
$results = localAPI('UpdateClientProduct', $postData);

// save username and password
$params["model"]->serviceProperties->save(array("username" => $resp['data']['loginUser'], "password" => $resp['data']['loginPassword']));
$params["model"]->serviceProperties->save(array("username" => $resp['data']['loginUser'], "password" => $resp['data']['loginPassword'], "domain" => $params['customfields']['Hostname']));
debugLog($params["model"]);
// Call the local API to update the custom field
return "success";
}
Expand Down
Loading

0 comments on commit d66b15e

Please sign in to comment.