diff options
| author | Mishio595 <[email protected]> | 2018-10-21 18:20:01 -0600 |
|---|---|---|
| committer | Mishio595 <[email protected]> | 2018-10-21 18:20:01 -0600 |
| commit | b47f0a22c5bcba1e2570dcf95d820399e9627ec2 (patch) | |
| tree | 23a850e882ac2dd9d625b052d17148a610e8d2b6 /lib/http.ml | |
| parent | Add HTTP routes (diff) | |
| download | disml-b47f0a22c5bcba1e2570dcf95d820399e9627ec2.tar.xz disml-b47f0a22c5bcba1e2570dcf95d820399e9627ec2.zip | |
Basic sharding
Diffstat (limited to 'lib/http.ml')
| -rw-r--r-- | lib/http.ml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/http.ml b/lib/http.ml index af5de51..105ae34 100644 --- a/lib/http.ml +++ b/lib/http.ml @@ -313,4 +313,7 @@ let execute_slack_webhook webhook_id token body = Base.request ~body `POST (Endpoints.webhook_slack webhook_id token) let execute_git_webhook webhook_id token body = - Base.request ~body `POST (Endpoints.webhook_git webhook_id token)
\ No newline at end of file + Base.request ~body `POST (Endpoints.webhook_git webhook_id token) + +let get_audit_logs guild_id body = + Base.request ~body `GET (Endpoints.guild_audit_logs guild_id)
\ No newline at end of file |