Skip to content

Commit

Permalink
fix: avoid multiple installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Nov 20, 2024
1 parent 9472526 commit af6537d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/types/models/curd/atomic.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func InstallPlugin(

// check if already installed
_, err := db.GetOne[models.PluginInstallation](
db.Equal("plugin_unique_identifier", plugin_unique_identifier.String()),
db.Equal("plugin_id", plugin_unique_identifier.PluginID()),
db.Equal("tenant_id", tenant_id),
)

Expand Down

0 comments on commit af6537d

Please sign in to comment.