Skip to content

Commit 64e7be9

Browse files
committed
[Fix] Fix (#7) logic of WOQLQuery.prototype.loadVocabulary
1 parent 8ed9f9e commit 64e7be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/woql.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ WOQLQuery.prototype.loadVocabulary = function(client){
916916
if(typeof v == "string"){
917917
var spl = v.split(":");
918918
if(spl.length == 2 && spl[1] && spl[0] != "_"){
919-
this.vocab[spl[1]] = v;
919+
this.vocab[spl[0]] = spl[1];
920920
}
921921
}
922922
}

0 commit comments

Comments
 (0)