20 lines
550 B
C#
20 lines
550 B
C#
using GraphQL.Client;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BodyshopUploader.Utils
|
|
{
|
|
public static class GraphQL
|
|
{
|
|
public static GraphQLClient CreateGQLClient()
|
|
{
|
|
var graphQLClient = new GraphQLClient("https://bodyshop-dev-db.herokuapp.com/v1/graphql");
|
|
graphQLClient.DefaultRequestHeaders.Add("Authorization", "Bearer " + Utils.Auth.authlink.FirebaseToken);
|
|
return graphQLClient;
|
|
}
|
|
}
|
|
}
|