Skip to content

Commit cb6d65d

Browse files
committed
allowed hooks route accept any http method
1 parent 5fdddfe commit cb6d65d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@
209209
});
210210

211211
// hooks
212-
Route::post('hooks', [HookController::class, 'hook'])
212+
Route::any('hooks', [HookController::class, 'hook'])
213213
->prefix($prefix)
214214
->middleware($hook_middleware);

0 commit comments

Comments
 (0)