We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8124e3 commit 4cbe39fCopy full SHA for 4cbe39f
1 file changed
bin/assign-affiliate.js
@@ -58,7 +58,7 @@ const { argv } = require('yargs')
58
);
59
60
const commands = [
61
- ['hset', metaKey, audience, `"${argv.code}"`],
+ ['hset', metaKey, USERS_REFERRAL_FIELD, `"${argv.code}"`],
62
['sadd', `${USERS_REFERRAL_INDEX}:${argv.code}`, argv.id],
63
];
64
0 commit comments