diff --git a/lib/hook.io-sparql.coffee b/lib/hook.io-sparql.coffee index 1136e91..c762d2d 100644 --- a/lib/hook.io-sparql.coffee +++ b/lib/hook.io-sparql.coffee @@ -31,7 +31,7 @@ class SPARQLHook extends Hook query: (query, cb) -> console.log ">>Going to query" @client.rows query, (err, res) -> - cb res + cb? res addPreffix: (key,url) -> @client.prefix_map[key] = url diff --git a/package.json b/package.json index 231c3fd..2201f3f 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "name": "hook.io-sparql", "description": "SparQL hook queries", "keywords" : [ "hook", "hook.io", "sparql" ], - "version": "0.0.2", + "version": "0.0.3", "bugs" : { "url" : "http://github.com/balkian/hook.io-sparql/issues" }, "repository": { "type": "git",