<reponame>nicktom1034/aws-data-all-Develop<filename>frontend/src/api/Dashboard/getDashboardAuthorSession.js<gh_stars>0import { gql } from 'apollo-boost';

const getAuthorSession = (environmentUri, dashboardUri) => ({
  variables: {
    environmentUri,
    dashboardUri
  },
  query: gql`
    query GetAuthorSession($environmentUri: String, $dashboardUri: String) {
      getAuthorSession(
        environmentUri: $environmentUri
        dashboardUri: $dashboardUri
      )
    }
  `
});

export default getAuthorSession;
