Create Clip API

There is nothing in here that attempts to create a clip

I see some oAuth stuff and some code fetching some details about a clip.

There is no create a clip call

However this call to get the clips details:

  try {
    const result = await axios.get('https://api.twitch.tv/kraken/clips/AmazonianEncouragingLyrebirdAllenHuhu', {
      headers: {'Client-ID': TWITCH_CLIENT_ID, Authorization: bearer}
    })
    console.log(result.data)
  } catch(err) {
    console.log(err)
  }

Is missing a header

  try {
    const result = await axios.get('https://api.twitch.tv/kraken/clips/AmazonianEncouragingLyrebirdAllenHuhu', {
      headers: {
        'Client-ID': TWITCH_CLIENT_ID,
        Authorization: bearer,
        'Accept': 'application/vnd.twitchtv.v5+json'
      }
    })
    console.log(result.data)
  } catch(err) {
    console.log(err)
  }

And

OAuth2Strategy.prototype.userProfile = function(accessToken, done) {
  var options = {
    url: 'https://api.twitch.tv/helix/users',
    method: 'GET',
    headers: {
      'Client-ID': TWITCH_CLIENT_ID,
      'Accept': 'application/vnd.twitchtv.v5+json',
      'Authorization': 'Bearer ' + accessToken

Does not need the Accept header as it’s a call to Helix