Mercurial > sci
diff scid/http.c @ 20:f98ea578b1ef
misc: revamp database
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 19 Jul 2022 21:52:42 +0200 |
parents | 600204c31bf0 |
children | 2cb228f23f53 |
line wrap: on
line diff
--- a/scid/http.c Fri Jul 15 11:11:48 2022 +0200 +++ b/scid/http.c Tue Jul 19 21:52:42 2022 +0200 @@ -28,8 +28,8 @@ #include "http.h" #include "log.h" #include "page.h" -#include "page-api-jobs.h" #include "page-api-projects.h" +#include "page-api-todo.h" #include "page-api-workers.h" enum page { @@ -44,7 +44,7 @@ const char *prefix; void (*handler)(struct kreq *); } apis[] = { - { "v1/jobs", page_api_v1_jobs }, + { "v1/todo", page_api_v1_todo }, { "v1/projects", page_api_v1_projects }, { "v1/workers", page_api_v1_workers }, { NULL, NULL }