set country code based on env variable, update compat date
This commit is contained in:
parent
a3735ab79c
commit
c4d96f6936
|
@ -150,7 +150,7 @@ async function get_items(type, id, aq, vq, host, env) {
|
||||||
const res = await api_call(env, 'GET', `${type}/${id}/items`, {
|
const res = await api_call(env, 'GET', `${type}/${id}/items`, {
|
||||||
offset: 0,
|
offset: 0,
|
||||||
limit: 4294967295,
|
limit: 4294967295,
|
||||||
countryCode: 'US',
|
countryCode: env.COUNTRY_CODE,
|
||||||
})
|
})
|
||||||
|
|
||||||
console.log(res.status, res.json)
|
console.log(res.status, res.json)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
name = "tdl"
|
name = "tdl"
|
||||||
main = "src/index.js"
|
main = "src/index.js"
|
||||||
compatibility_date = "2023-11-03"
|
compatibility_date = "2023-11-26"
|
||||||
kv_namespaces = [{ binding = "KV", id = "0d7e90e0fb2444ee83c06a25ce476b6a", preview_id = "7bfc3ebb77034d7d81cca73b1c35348f" }]
|
kv_namespaces = [{ binding = "KV", id = "0d7e90e0fb2444ee83c06a25ce476b6a", preview_id = "7bfc3ebb77034d7d81cca73b1c35348f" }]
|
Loading…
Reference in New Issue