Skip to content

Commit 7885836

Browse files
committed
Change to the correct DeletedQuad
1 parent 29babaf commit 7885836

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/query/woqlQuery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ WOQLQuery.prototype.removed_quad = function (subject, predicate, object, graphRe
605605
// if (a && a === 'args')
606606
// return args.concat(['graph'])
607607
if (!graphRef) return this.parameterError('Quad takes four parameters, the last should be a graph filter');
608-
this.cursor['@type'] = 'RemovedQuad';
608+
this.cursor['@type'] = 'DeletedQuad';
609609
this.cursor.graph = this.cleanGraph(graphRef);
610610
return this;
611611
};

test/woqlQuery.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ describe('woql query', () => {
281281
const query = WOQL.removed_quad('v:S', 'v:P', 'v:O', 'schema/main');
282282
const json = query.json();
283283

284-
expect(json['@type']).to.equal('RemovedQuad');
284+
expect(json['@type']).to.equal('DeletedQuad');
285285
});
286286
});
287287

0 commit comments

Comments
 (0)