diff --git a/models/document-container.js b/models/document-container.js index 463ad7c..1cb4a7c 100644 --- a/models/document-container.js +++ b/models/document-container.js @@ -1,6 +1,5 @@ import EditorDocument from "./editor-document"; -import { sparqlEscapeUri, sparqlEscapeString } from "mu"; -import { querySudo as query } from "@lblod/mu-auth-sudo"; +import { sparqlEscapeUri, sparqlEscapeString, query } from "mu"; export default class DocumentContainer { /** @type {string} */ diff --git a/models/task.js b/models/task.js index fee5fe7..dddcb87 100644 --- a/models/task.js +++ b/models/task.js @@ -5,8 +5,9 @@ import { sparqlEscapeDateTime, // @ts-ignore sparqlEscapeInt, + query, + update, } from "mu"; -import { querySudo as query, updateSudo as update } from "@lblod/mu-auth-sudo"; export const JOB_STATUSES = { scheduled: "http://redpencil.data.gift/id/concept/JobStatus/scheduled", diff --git a/models/template-version.js b/models/template-version.js index 625b8bf..8e2c2ab 100644 --- a/models/template-version.js +++ b/models/template-version.js @@ -3,8 +3,9 @@ import { uuid as uuidv4, sparqlEscapeDateTime, sparqlEscapeString, + query, + update, } from "mu"; -import { querySudo as query, updateSudo as update } from "@lblod/mu-auth-sudo"; import fs from "fs"; export default class TemplateVersion { diff --git a/models/template.js b/models/template.js index 98a6d3a..d299369 100644 --- a/models/template.js +++ b/models/template.js @@ -1,5 +1,10 @@ -import { sparqlEscapeUri, uuid as uuidv4, sparqlEscapeString } from "mu"; -import { querySudo as query, updateSudo as update } from "@lblod/mu-auth-sudo"; +import { + sparqlEscapeUri, + uuid as uuidv4, + sparqlEscapeString, + query, + update, +} from "mu"; import TemplateVersion from "./template-version"; /** diff --git a/util/common-sparql.js b/util/common-sparql.js index a043075..096da58 100644 --- a/util/common-sparql.js +++ b/util/common-sparql.js @@ -1,5 +1,4 @@ -import { sparqlEscapeUri, sparqlEscapeString } from "mu"; -import { querySudo as query, updateSudo as update } from "@lblod/mu-auth-sudo"; +import { sparqlEscapeUri, sparqlEscapeString, query, update } from "mu"; export const getPublishedVersion = async (documentContainerUri) => { const publishedVersionQuery = `