Skip to content

Commit

Permalink
Fix: snippets not available (#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome committed Mar 3, 2021
1 parent f225fe4 commit b5c99a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/actions/snippet-action-creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function getSnippet(language: string): Function {
return async (dispatch: Function, getState: Function) => {
const { devxApi, sampleQuery } = getState();
try {
let snippetsUrl = `${devxApi}/api/graphexplorersnippets`;
let snippetsUrl = `${devxApi.baseUrl}/api/graphexplorersnippets`;

const { requestUrl, sampleUrl, queryVersion, search } = parseSampleUrl(sampleQuery.sampleUrl);
if (!sampleUrl) {
Expand Down

0 comments on commit b5c99a8

Please sign in to comment.