Skip to content

Commit

Permalink
Merge pull request #39 from inwx/fix_status_transfer_away
Browse files Browse the repository at this point in the history
fix: status transfer away
  • Loading branch information
ddmler authored Jan 15, 2025
2 parents 4314aef + 4e06ebe commit fcd3513
Show file tree
Hide file tree
Showing 3 changed files with 702 additions and 1,318 deletions.
2 changes: 2 additions & 0 deletions modules/registrars/inwx/inwx.php
Original file line number Diff line number Diff line change
Expand Up @@ -967,6 +967,8 @@ function inwx_SyncDomain($params) {

if ($status === 'OK') {
$updateDetails['status'] = 'Active';
} else if (startsWith($status, 'TRANSFER') && endsWith($status, 'SUCCESSFUL')) {
$updateDetails['status'] = 'Transferred Away';
} else if (startsWith($status, 'TRANSFER') && !endsWith($status, 'SUCCESSFUL')) {
$updateDetails['status'] = 'Pending Transfer';
}
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
"license": "MIT",
"type": "module",
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@hexonet/semantic-release-whmcs": "^5.0.20",
"@semantic-release/github": "^10.0.4",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@hexonet/semantic-release-whmcs": "^5.0.49",
"@semantic-release/github": "^10.3.5",
"cz-conventional-changelog": "^3.3.0",
"dotenv-cli": "^7.4.2",
"husky": "^9.0.11",
"lint-staged": "^15.2.4",
"dotenv-cli": "^7.4.4",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"semantic-release": "^23.1.1"
},
"release": {
Expand Down
Loading

0 comments on commit fcd3513

Please sign in to comment.