Skip to content

Commit

Permalink
maybetter
Browse files Browse the repository at this point in the history
  • Loading branch information
cmyui committed Oct 25, 2024
1 parent 193a21a commit 36920a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/Do.php
Original file line number Diff line number Diff line change
Expand Up @@ -1207,7 +1207,7 @@ public static function DeleteUserAccount()
}
$requestUrl = $INTERNAL_USERS_SERVICE_BASE_URL . "/api/v1/users/" . $userId;
$resp = makeJsonWebRequest("DELETE", $requestUrl);
if ($resp["status"] === 204) {
if ($resp["status"] >= 200 || $resp["status"] < 300) {
postWebhookMessage("Successfully processed a GDPR/CCPA user deletion request for user: " . $userId);
rapLog("Successfully processed a GDPR/CCPA user deletion request for user: " . $userId);
} else {
Expand Down

0 comments on commit 36920a5

Please sign in to comment.