浏览代码

fix: typo

Yeuoly 8 月之前
父节点
当前提交
843fefdc57
共有 1 个文件被更改,包括 1 次插入1 次删除
  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),
 				)