Skip to content

Commit 00e6f9e

Browse files
Merge pull request appwrite#934 from appwrite/chore-rename-new-method
Fix: Rename to use new method
2 parents e7f2a33 + 0cff11f commit 00e6f9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/cli/lib/commands/pull.js.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const inquirer = require("inquirer");
66
const { messagingListTopics } = require("./messaging");
77
const { teamsList } = require("./teams");
88
const { projectsGet } = require("./projects");
9-
const { functionsList, functionsDownloadDeployment, functionsListDeployments } = require("./functions");
9+
const { functionsList, functionsGetDeploymentDownload, functionsListDeployments } = require("./functions");
1010
const { databasesGet, databasesListCollections, databasesList } = require("./databases");
1111
const { storageListBuckets } = require("./storage");
1212
const { localConfig } = require("../config");
@@ -136,7 +136,7 @@ const pullFunctions = async ({ code, withVariables }) => {
136136
log("Pulling latest deployment code ...");
137137

138138
const compressedFileName = `${func['$id']}-${+new Date()}.tar.gz`
139-
await functionsDownloadDeployment({
139+
await functionsGetDeploymentDownload({
140140
functionId: func['$id'],
141141
deploymentId,
142142
destination: compressedFileName,

0 commit comments

Comments
 (0)