diff options
Diffstat (limited to 'dynamic/api.scm')
| -rw-r--r-- | dynamic/api.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dynamic/api.scm b/dynamic/api.scm index 6cda81a..8bbff1e 100644 --- a/dynamic/api.scm +++ b/dynamic/api.scm @@ -14,7 +14,8 @@ ;;; along with this program. If not, see ;;; <http://www.gnu.org/licenses/>. -(use-modules (dynamic capabilities gallery) +(use-modules (dynamic capabilities comments) + (dynamic capabilities gallery) (dynamic capabilities rsvp) (dynamic logging) (srfi srfi-1) @@ -38,8 +39,9 @@ (log-append! 'info (format #f "~a ~a (~a) (~a)" method endpoint args originating-ip))) ((match (cons (request-method request) endpoint) ;; ('(GET "challenge") make-challenge) - ;; ('(GET "comments") get-comments) - ;; ('(POST "comment") put-comment) + ('(GET "comments") get-comments) + ('(POST "comment") put-comment) + ('(POST "react") put-reaction) ('(GET "gallery") get-gallery) ('(GET "gallery" "image") get-image) ('(GET "rsvp" "event-info") get-event-info) |