Skip to content

Commit

Permalink
fix(db): change argument order in Exists query for JavaDB
Browse files Browse the repository at this point in the history
  • Loading branch information
DaspawnW committed Jun 8, 2023
1 parent 4a5b915 commit ec851ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/javadb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func NewClient() (*DB, error) {
}

func (d *DB) Exists(groupID, artifactID string) (bool, error) {
index, err := d.driver.SelectIndexByArtifactIDAndGroupID(groupID, artifactID)
index, err := d.driver.SelectIndexByArtifactIDAndGroupID(artifactID, groupID)
if err != nil {
return false, err
}
Expand Down

0 comments on commit ec851ee

Please sign in to comment.