mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 18:29:04 +08:00
fix: update uniqueIdentifier assignment for marketplace plugins (#14385)
This commit is contained in:
parent
1aaab741a0
commit
b10cbb9b20
@ -216,7 +216,7 @@ export const useInstallOrUpdate = ({
|
|||||||
}
|
}
|
||||||
if (item.type === 'marketplace') {
|
if (item.type === 'marketplace') {
|
||||||
const data = item as GitHubItemAndMarketPlaceDependency
|
const data = item as GitHubItemAndMarketPlaceDependency
|
||||||
uniqueIdentifier = data.value.plugin_unique_identifier! || plugin[i]?.plugin_id
|
uniqueIdentifier = data.value.marketplace_plugin_unique_identifier! || plugin[i]?.plugin_id
|
||||||
if (uniqueIdentifier === installedPayload?.uniqueIdentifier) {
|
if (uniqueIdentifier === installedPayload?.uniqueIdentifier) {
|
||||||
return {
|
return {
|
||||||
success: true,
|
success: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user