document.write("
import { GraphQLClient } from 'graphql-request' const endpoint = ' https://us1.prisma.sh/public-shellduck-987/movie/dev' const mu = `mutation createReactScript( $title: String! $url: String, ){ createReactScript( data:{title:$title, url: $url }){ id, title } }` insertData={title:'Primsa homepage',url:'https://www.prismagraphql.com'} const client = new GraphQLClient(endpoint, { headers: { "Authorization": "Bearer --token place here ,please delete short line-- ", } }) const handlePrismaDataTemplate = R.curry((template, variables) => ( client.request(template, variables).then(data => { return data }) )) const waitForVariables=handlePrismaDataTemplate(mu); const res= awiat waitForVariables(insertData); res.then(data=>console.log(data));