import { request, gql } from 'graphql-request' import { Service } from '../..'; export const setValueOfKeyOnRedis = async (headers: any, name: string, value: string) => { const query = gql` mutation Mutation($params: SetParams) { set(params: $params) { message data } } ` // return await request(Service.Redis.Url, query, { // params: { // name, value // } // }, headers) // .then((res) => { // return res.set.data; // }).catch((err) => { // return false // }) }