1
0
mirror of https://github.com/balkian/hook.io-sparql.git synced 2025-09-02 09:32:21 +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