ソースを参照

fix import DSL install Github plugin failed (#16362)

tags/1.1.2
Junjie.M 7ヶ月前
コミット
e324e59930
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更2行の追加1行の削除
  1. 2
    1
      web/service/use-plugins.ts

+ 2
- 1
web/service/use-plugins.ts ファイルの表示

@@ -187,7 +187,8 @@ export const useInstallOrUpdate = ({
if (item.type === 'github') {
const data = item as GitHubItemAndMarketPlaceDependency
// From local bundle don't have data.value.github_plugin_unique_identifier
if (!data.value.github_plugin_unique_identifier) {
uniqueIdentifier = data.value.github_plugin_unique_identifier!
if (!uniqueIdentifier) {
const { unique_identifier } = await post<uploadGitHubResponse>('/workspaces/current/plugin/upload/github', {
body: {
repo: data.value.repo!,

読み込み中…
キャンセル
保存