1
0
mirror of https://github.com/balkian/hook.io-sparql.git synced 2024-11-21 13:12:29 +00:00

Fixed null callback

This commit is contained in:
J.Fernando Sánchez 2012-03-15 17:19:43 +01:00
parent 8abe7e4d20
commit 41b7b9198f
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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",