fix: github install fix

This commit is contained in:
Joel 2024-11-20 15:05:17 +08:00
parent 1846a7de73
commit efb84ff03d

View File

@ -125,8 +125,8 @@ export const useInstallFromMarketplaceAndGitHub = ({
await post<InstallPackageResponse>('/workspaces/current/plugin/install/github', { await post<InstallPackageResponse>('/workspaces/current/plugin/install/github', {
body: { body: {
repo: data.value.repo!, repo: data.value.repo!,
version: data.value.release!, version: data.value.release! || data.value.version!,
package: data.value.packages!, package: data.value.packages! || data.value.package!,
plugin_unique_identifier: data.value.github_plugin_unique_identifier!, plugin_unique_identifier: data.value.github_plugin_unique_identifier!,
}, },
}) })