We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7525bc0 commit 5e86356Copy full SHA for 5e86356
packages/lock/package.json
@@ -70,4 +70,4 @@
70
"url": "https://github.com/CSenshi/nestjs-redis",
71
"directory": "packages/lock"
72
}
73
-}
+}
packages/lock/src/lib/redlock/redlock.decorator.ts
@@ -94,7 +94,8 @@ function getKeys(key: string | string[]): string[] {
94
} else if (typeof key === 'string') {
95
return [key];
96
} else {
97
- throw new Error(`Invalid key type: ${typeof key}. Expected string or string[].`);
+ throw new Error(
98
+ `Invalid key type: ${typeof key}. Expected string or string[].`,
99
+ );
100
101
-
0 commit comments