mirror of
https://github.com/standardebooks/web.git
synced 2025-07-10 00:30:28 -04:00
Update framework standards
This commit is contained in:
parent
232e056299
commit
09a91a998e
17 changed files with 282 additions and 98 deletions
|
@ -12,7 +12,7 @@ try{
|
|||
$log = new Log(GITHUB_WEBHOOK_LOG_FILE_PATH);
|
||||
$lastPushHashFlag = '';
|
||||
|
||||
HttpInput::ValidateRequestMethod([HttpMethod::Post]);
|
||||
HttpInput::ValidateRequestMethod([Enums\HttpMethod::Post]);
|
||||
|
||||
$log->Write('Received GitHub webhook.');
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ try{
|
|||
|
||||
$log->Write('Received Postmark webhook.');
|
||||
|
||||
HttpInput::ValidateRequestMethod([HttpMethod::Post]);
|
||||
HttpInput::ValidateRequestMethod([Enums\HttpMethod::Post]);
|
||||
|
||||
$apiKey = get_cfg_var('se.secrets.postmark.api_key');
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ use function Safe\json_decode;
|
|||
try{
|
||||
$log = new Log(ZOHO_WEBHOOK_LOG_FILE_PATH);
|
||||
|
||||
HttpInput::ValidateRequestMethod([HttpMethod::Post]);
|
||||
HttpInput::ValidateRequestMethod([Enums\HttpMethod::Post]);
|
||||
|
||||
$log->Write('Received Zoho webhook.');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue