Yeuoly 8 kuukautta sitten
vanhempi
commit
843fefdc57
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      internal/utils/cache/helper/redis.go

+ 1 - 1
internal/utils/cache/helper/redis.go

@@ -40,7 +40,7 @@ func CombinedGetPluginDeclaration(
 			} else {
 				// try to fetch the declaration from plugin if it's remote
 				plugin, err := db.GetOne[models.Plugin](
-					db.Equal("unique_identifier", plugin_unique_identifier.String()),
+					db.Equal("plugin_unique_identifier", plugin_unique_identifier.String()),
 					db.Equal("install_type", string(plugin_entities.PLUGIN_RUNTIME_TYPE_REMOTE)),
 					db.Equal("tenant_id", tenant_id),
 				)