thinkncollab-cli 0.0.69 → 0.0.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/branch.js +1 -1
- package/commands/init.js +1 -1
- package/commands/pull.js +1 -1
- package/package.json +1 -1
package/commands/branch.js
CHANGED
|
@@ -73,7 +73,7 @@ async function createBranch(roomId) {
|
|
|
73
73
|
throw new Error("User email not found in configuration. Please login again.");
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
const res = await axios.post("
|
|
76
|
+
const res = await axios.post("https://thinkncollab.com/cli/createBranch", {
|
|
77
77
|
branchName: branchName.trim(),
|
|
78
78
|
roomId,
|
|
79
79
|
email,
|
package/commands/init.js
CHANGED
|
@@ -23,7 +23,7 @@ async function projectInit() {
|
|
|
23
23
|
const currentUser = JSON.parse(data).email;
|
|
24
24
|
|
|
25
25
|
// Initialize project via backend
|
|
26
|
-
const response = await axios.post("
|
|
26
|
+
const response = await axios.post("http://localhost:3001/cli/init", {
|
|
27
27
|
projectName: answer.projectName,
|
|
28
28
|
owner: currentUser
|
|
29
29
|
});
|
package/commands/pull.js
CHANGED
|
@@ -115,7 +115,7 @@ export default async function pull(roomId, version = "latest") {
|
|
|
115
115
|
console.log(`📋 Project: ${projectId}`);
|
|
116
116
|
console.log(`🎯 Version: ${version}\n`);
|
|
117
117
|
|
|
118
|
-
let url = `https://thinkncollab.
|
|
118
|
+
let url = `https://thinkncollab.com/folders/${roomId}/download`;
|
|
119
119
|
const params = { projectId };
|
|
120
120
|
|
|
121
121
|
if (version !== "latest") {
|