Skip to content

Commit 4144370

Browse files
committed
fix broken examples
1 parent b98fe80 commit 4144370

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/data_type.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ redis_module! {
8383
MY_REDIS_TYPE,
8484
],
8585
commands: [
86-
["alloc.set", alloc_set, "write"],
87-
["alloc.get", alloc_get, "readonly"],
86+
["alloc.set", alloc_set, "write", 1, 1, 1],
87+
["alloc.get", alloc_get, "readonly", 1, 1, 1],
8888
],
8989
}

examples/hello.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ redis_module! {
2929
version: 1,
3030
data_types: [],
3131
commands: [
32-
["hello.mul", hello_mul, ""],
32+
["hello.mul", hello_mul, "", 1, 1, 1],
3333
],
3434
}
3535

0 commit comments

Comments
 (0)