mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-06 21:32:58 -04:00
update environment variable
This commit is contained in:
parent
6062476fd0
commit
317613923f
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue