Commit 57c05cfeb44451ac9cefadfeb8edd12557dbd68d
1 parent
0515c0a15a
Exists in
master
Use xid from pull sdk
Showing 1 changed file with 1 additions and 3 deletions Inline Diff
lib/partner.js
1 | const uniqid = require('uniqid'); | ||
2 | const hit = require('./hit'); | 1 | const hit = require('./hit'); |
3 | 2 | ||
4 | exports.buy = (task) => { | 3 | exports.buy = (task, xid) => { |
5 | const xid = uniqid(); | ||
6 | hit(xid, task); | 4 | hit(xid, task); |
7 | }; | 5 | }; |
8 | 6 |