update environment variable

This commit is contained in:
derpystuff 2023-08-07 00:08:16 +02:00
parent 6062476fd0
commit 317613923f

View file

@ -29,14 +29,14 @@ async function processMakesweet(effect, args, image) {
if(!image) throw "Unable to fetch image"
let res = await superagent.post(`http://api.makesweet.com/make/${effect.toLowerCase()}`)
.set("Authorization", process.env.makesweet)
.set("Authorization", process.env.MAKESWEET_KEY)
.buffer(true)
.query(args)
.attach('image', image, 'image.png')
return res;
}
let res = await superagent.post(`http://api.makesweet.com/make/${effect.toLowerCase()}`)
.set("Authorization", process.env.makesweet)
.set("Authorization", process.env.MAKESWEET_KEY)
.buffer(true)
.query(args)
return res