Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrove committed Dec 23, 2021
1 parent fc4cd2f commit fc8185c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/netlify-plugin-netligraph/src/netligraph.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import {
} from './lib/graphqlHelpers.mjs'
import { buildClientSchema, parse, print } from 'graphql'
import Prettier from 'prettier'
import Process from 'process'

const ONEDASH_APP_ID = '0b066ba6-ed39-4db8-a497-ba0be34d5b2a'

export default function capitalizeFirstLetter(string) {
return string.charAt(0).toUpperCase() + string.slice(1)
Expand Down Expand Up @@ -256,10 +257,10 @@ export const upsertAppForSite = async (
nfToken,
siteId
) => {
const result = await fetchOneGraph(nfToken, siteId, operationsDoc, 'UpsertAppForSiteMutation',
const result = await fetchOneGraph(nfToken, ONEDASH_APP_ID, operationsDoc, 'UpsertAppForSiteMutation',
{
nfToken: nfToken,
appId: siteId,
siteId: siteId,
},
);

Expand Down

0 comments on commit fc8185c

Please sign in to comment.