Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 7cae785

Browse files
committed
Add '!=' comparison
1 parent d8726bc commit 7cae785

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/orbitdb-api.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ class OrbitdbAPI extends Express {
9595
this.put('/db/:dbname/inc/:val', db_inc_val);
9696

9797
var comparisons = {
98-
'==': (a, b) => a == b ,
98+
'!=': (a, b) => a != b,
99+
'==': (a, b) => a == b,
99100
'>': (a, b) => a > b ,
100101
'<': (a, b) => a < b ,
101102
'>=': (a, b) => a >= b,

0 commit comments

Comments
 (0)