Created
December 2, 2020 12:24
-
-
Save zupzup/d39a7ff5de9bc13eb11848fe33c25fc8 to your computer and use it in GitHub Desktop.
Timeular Webhooks Routes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let started_tracking_route = warp::path!("started-tracking") | |
.and(warp::post()) | |
.and(warp::body::json()) | |
.and_then(started_tracking_handler); | |
let stopped_tracking_route = warp::path!("stopped-tracking") | |
.and(warp::post()) | |
.and(warp::body::json()) | |
.and_then(stopped_tracking_handler); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment