Skip to content

Commit 7372540

Browse files
committed
refactor: adjust path to auth module so that it always works from working directory
1 parent 160f637 commit 7372540

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

completed/modeler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from "axios";
2-
import { getAccessToken } from "../auth.js";
2+
import { getAccessToken } from "./auth.js";
33

44
const authorizationConfiguration = {
55
clientId: process.env.MODELER_CLIENT_ID,

completed/zeebe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from "axios";
2-
import { getAccessToken } from "../auth.js";
2+
import { getAccessToken } from "./auth.js";
33

44
const authorizationConfiguration = {
55
clientId: process.env.ZEEBE_CLIENT_ID,

modeler.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import axios from "axios";
2-
import { getAccessToken } from "../auth.js";
2+
import { getAccessToken } from "./auth.js";
33

44
async function createProject([projectName, adminEmail]) {
55
console.log(

0 commit comments

Comments
 (0)