Merge
This commit is contained in:
parent
9b2b071b88
commit
1aed6f89d5
|
@ -7,7 +7,7 @@ import {
|
|||
} from "@budibase/backend-core"
|
||||
import { fileUpload } from "../../api/controllers/plugin/file"
|
||||
import env from "../../environment"
|
||||
import { ClientAppSocket } from "../../websocket"
|
||||
import { clientAppSocket } from "../../websockets"
|
||||
import { sdk as pro } from "@budibase/pro"
|
||||
|
||||
export async function fetch(type?: PluginType) {
|
||||
|
@ -36,6 +36,6 @@ export async function processUploaded(plugin: FileType, source?: PluginSource) {
|
|||
}
|
||||
|
||||
const doc = await pro.plugins.storePlugin(metadata, directory, source)
|
||||
ClientAppSocket.emit("plugin-update", { name: doc.name, hash: doc.hash })
|
||||
clientAppSocket.emit("plugin-update", { name: doc.name, hash: doc.hash })
|
||||
return doc
|
||||
}
|
||||
|
|
12
yarn.lock
12
yarn.lock
|
@ -1486,15 +1486,15 @@
|
|||
pouchdb-promise "^6.0.4"
|
||||
through2 "^2.0.0"
|
||||
|
||||
"@budibase/pro@2.5.6-alpha.4":
|
||||
version "2.5.6-alpha.4"
|
||||
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.4.tgz#81ab99c9030ac1bea6e805470dac1e302c228838"
|
||||
integrity sha512-UiEmxs/banYIGRbzWB8q3DGJ40CLn5trWRZJGtpwAzvEo6TsCEUzYltuDtIo+9G0PxRP6xTQtVdtrZHeWk8mZQ==
|
||||
"@budibase/pro@2.5.6-alpha.5":
|
||||
version "2.5.6-alpha.5"
|
||||
resolved "https://registry.yarnpkg.com/@budibase/pro/-/pro-2.5.6-alpha.5.tgz#8136ea50e06aab8a23e48359d58c6c84ba386263"
|
||||
integrity sha512-YEcDRJU4Up7g/fMSnO8K8YH6gObO/Sy0Jh28Ms+Sxb9RQ/zqlcobonsICF6h2ntfzLZH2cfArLGFEvIT10/PvA==
|
||||
dependencies:
|
||||
"@budibase/backend-core" "2.5.6-alpha.4"
|
||||
"@budibase/backend-core" "2.5.6-alpha.5"
|
||||
"@budibase/shared-core" "2.4.44-alpha.1"
|
||||
"@budibase/string-templates" "2.4.44-alpha.1"
|
||||
"@budibase/types" "2.5.6-alpha.4"
|
||||
"@budibase/types" "2.5.6-alpha.5"
|
||||
"@koa/router" "8.0.8"
|
||||
bull "4.10.1"
|
||||
joi "17.6.0"
|
||||
|
|
Loading…
Reference in New Issue