diff options
author | David Barksdale <amatus@amatus.name> | 2015-12-31 08:25:18 -0600 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2015-12-31 08:25:18 -0600 |
commit | 7c966d1f14da7276e7629cad0ac218645328006d (patch) | |
tree | 277c72f2defd7ea3a1d6e229b9c7dfa119a9d636 /src/app/api.clj | |
parent | 1a9bc49d42cb592f3fb41fae8c6af9b1fe983c41 (diff) |
Add hints
Diffstat (limited to 'src/app/api.clj')
-rw-r--r-- | src/app/api.clj | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/api.clj b/src/app/api.clj index 432482c..d453f4b 100644 --- a/src/app/api.clj +++ b/src/app/api.clj @@ -29,3 +29,8 @@ {:rpc/pre (= token (db/get :admin))} (binding [*ns* (find-ns 'simpledb.core)] (eval (read-string expr)))) + +(defrpc get-hints [] + (if (db/get :drop-hints) + (db/get :hints) + "Hack Harder!")) |