Code

frontend: Let LIST not include details.
[sysdb.git] / src / frontend / query.c
index 759b9c9795ebbe86da1c9ab4308c0c641f7e10aa..0b582f54dce54e8481b8b6e0292b52856c48c9ec 100644 (file)
@@ -133,7 +133,7 @@ sdb_fe_list(sdb_conn_t *conn)
                return -1;
        }
 
-       if (sdb_store_tojson(buf, /* flags = */ 0)) {
+       if (sdb_store_tojson(buf, /* flags = */ SDB_SKIP_ALL)) {
                sdb_log(SDB_LOG_ERR, "frontend: Failed to serialize "
                                "store to JSON");
                sdb_strbuf_sprintf(conn->errbuf, "Out of memory");