Skip to content

Commit

Permalink
changed getPerspectiveSnapshotLanguage to getPerspectiveLanguage
Browse files Browse the repository at this point in the history
  • Loading branch information
weswalla committed Feb 16, 2022
1 parent 2de9e94 commit ad72a58
Show file tree
Hide file tree
Showing 2 changed files with 684 additions and 34 deletions.
2 changes: 1 addition & 1 deletion src/core/graphQL-interface/GraphQL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ function createResolvers(core: PerspectivismCore) {
perspectivePublishSnapshot: async (parent, args, context, info) => {
const { uuid } = args
const snapshot = await core.perspectivesController.perspectiveSnapshot(uuid)
const language = core.languageController.getPerspectiveSnapshotLanguage()
const language = core.languageController.getPerspectiveLanguage()
const langref = { address: 'perspective' } as LanguageRef
const expref = await core.languageController.expressionCreate(langref, snapshot)
return exprRef2String(expref)
Expand Down
Loading

0 comments on commit ad72a58

Please sign in to comment.