diff options
Diffstat (limited to 'mumi/web/controller.scm')
-rw-r--r-- | mumi/web/controller.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mumi/web/controller.scm b/mumi/web/controller.scm index bffc26c..3b91021 100644 --- a/mumi/web/controller.scm +++ b/mumi/web/controller.scm @@ -1,5 +1,6 @@ ;;; mumi -- Mediocre, uh, mail interface ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net> ;;; ;;; This program is free software: you can redistribute it and/or ;;; modify it under the terms of the GNU Affero General Public License @@ -32,6 +33,7 @@ #:use-module (mumi messages) #:use-module (mumi web render) #:use-module (mumi web download) + #:use-module (mumi web graphql) #:use-module (mumi web util) #:use-module (mumi web view html) #:export (controller)) @@ -67,6 +69,8 @@ (render-html (list-of-matching-bugs "severity:wishlist is:open" (bugs-by-severity "wishlist" "open")))) + (((or 'GET 'POST) "graphql") + (handle-graphql request body)) (('GET "search") (let ((query (-> request request-uri |