aboutsummaryrefslogtreecommitdiff
path: root/src/clog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/clog.c')
-rw-r--r--src/clog.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/clog.c b/src/clog.c
index 124c618..c2a7abb 100644
--- a/src/clog.c
+++ b/src/clog.c
@@ -380,18 +380,6 @@ toy(struct http_request *req) {
goto out;
}
- /*
- item = kore_json_find_integer_u64(json.root, "foo/integer");
-
- if (item != NULL) {
- kore_buf_appendf(&buf,
- "foo.integer = '%" PRIu64 "'\n", item->data.u64);
- } else {
- kore_buf_appendf(&buf, "foo.integer %s\n",
- kore_json_strerror());
- }
- */
-
err = kore_pgsql_setup(&sql, database, KORE_PGSQL_SYNC);
if (err == KORE_RESULT_ERROR) {
status = HTTP_STATUS_INTERNAL_ERROR;
@@ -407,7 +395,6 @@ toy(struct http_request *req) {
0,
3,
KORE_PGSQL_PARAM_TEXT("00000000-0000-0000-0000-000000000000"),
- // 'af5bbaec-8d2b-11ed-9bf3-db5637a87ac5'
KORE_PGSQL_PARAM_TEXT("title"),
KORE_PGSQL_PARAM_TEXT("body")
);