read offer from env too
This commit is contained in:
parent
aeeacfd154
commit
e16da3bafa
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -9,7 +9,7 @@ setInterval(() => {
|
|||
"Content-Type": "application/json",
|
||||
Cookie: process.env.COOKIE,
|
||||
},
|
||||
body: '{"player_id":149009823,"offer_item_ids":[136803374,71484026,20945159,144302847],"request_item_ids":[],"request_tags":["downgrade"]}',
|
||||
body: process.env.OFFER,
|
||||
}).then((res) => {
|
||||
if (res.ok) {
|
||||
console.log("success");
|
||||
|
@ -21,4 +21,4 @@ setInterval(() => {
|
|||
console.log(x);
|
||||
});
|
||||
});
|
||||
}, 60_000 * 20);
|
||||
}, 60_000 * 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue