Skip to content

Commit 4cbe39f

Browse files
committed
fix: invalid key
1 parent f8124e3 commit 4cbe39f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/assign-affiliate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const { argv } = require('yargs')
5858
);
5959

6060
const commands = [
61-
['hset', metaKey, audience, `"${argv.code}"`],
61+
['hset', metaKey, USERS_REFERRAL_FIELD, `"${argv.code}"`],
6262
['sadd', `${USERS_REFERRAL_INDEX}:${argv.code}`, argv.id],
6363
];
6464

0 commit comments

Comments
 (0)