From afce955ff3cf661d79822e5265be1121f3ed5ce4 Mon Sep 17 00:00:00 2001 From: Teemu Patja Date: Sun, 15 Jan 2017 22:26:33 +0200 Subject: [PATCH] Fix first-time sign in issue * db/create-user! now returns a map with the created data instead of a number, as expected by the client side. * fixed broken test Fixes: #4 --- resources/sql/queries.sql | 25 +++++++++++++------------ test/clj/commiteth/test/db/core.clj | 25 +++++++++++++------------ 2 files changed, 26 insertions(+), 24 deletions(-) diff --git a/resources/sql/queries.sql b/resources/sql/queries.sql index 2cbcd95..5082030 100644 --- a/resources/sql/queries.sql +++ b/resources/sql/queries.sql @@ -1,20 +1,21 @@ -- Users --------------------------------------------------------------------------- --- :name create-user! :! :n +-- :name create-user! :