diff --git a/includes/hooks/WHMCS-Discord-Notifications.php b/includes/hooks/WHMCS-Discord-Notifications.php index 2bb39f2..d6a03ad 100644 --- a/includes/hooks/WHMCS-Discord-Notifications.php +++ b/includes/hooks/WHMCS-Discord-Notifications.php @@ -29,7 +29,7 @@ 'username' => $companyName, 'embeds' => array( array( - 'url' => $whmcsAdminURL . 'invoices.php?action=view&id=' . $vars['invoiceid'], + 'url' => $whmcsAdminURL . 'invoices.php?action=edit&id=' . $vars['invoiceid'], 'timestamp' => date(DateTime::ISO8601), 'description' => '', 'color' => '5653183', @@ -50,7 +50,7 @@ 'username' => $companyName, 'embeds' => array( array( - 'url' => $whmcsAdminURL . 'invoices.php?action=view&id=' . $vars['invoiceid'], + 'url' => $whmcsAdminURL . 'invoices.php?action=edit&id=' . $vars['invoiceid'], 'timestamp' => date(DateTime::ISO8601), 'description' => '', 'color' => '5653183',