index.js
/**
 * when a request comes in, dispense a jwt signed with an ENV
 * variable
 * @param {Request} request
 */
when a request comes in, dispense a jwt signed with an ENV
variable
@param {Request} request
when a request comes in dispense a jwt signed with an ENV variable @param { Request } request
async function handleRequest(request) {
  let jwt;
  let ourColor = JSON.stringify({});
  jwt = await fetch("", {});
  jwt = await jwt.text();
  console.log(jwt);
  await fetch("", {
    headers: {}
  });
  return new Response("Color added!", { status: 200 });
}
async function handleRequest ( request ) { let jwt ; let ourColor = JSON . stringify ( { } ) ; jwt = await fetch ( "" , { } ) ; jwt = await jwt . text ( ) ; console . log ( jwt ) ; await fetch ( "" , { headers : { } } ) ; return new Response ( "Color added!" , { status : 200 } ) ; }
when a request comes in, dispense a jwt signed with an ENV
 variable
 @param {Request} request
when a request comes in dispense a jwt signed with an ENV variable @param { Request } request
// set payload for our color // get JWT for our payload // use it to add the color to the bot!