Cannot authenticate with relay app


I’m attempting to connect a relay app to the github graphql endpoint. I’ve verified my token works by sending out a curl request with the token, and successfully received a response. Here is my code to setup the network layer

  new Relay.DefaultNetworkLayer('', {
    headers: {
      Authorization: 'Bearer MYTOKEN'

I receive this error when attempting to run the application

ERROR in ./src/index.js
Module build failed: Error: Unauthorized: {"message":"This endpoint requires you to be authenticated.","documentation_url":""}

Is there something I’m missing here? Thanks!