Skip to content

Commit

Permalink
chore: fix argument name
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Oct 4, 2024
1 parent cbebe6c commit 1b57cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/fundamental/src/purl/service/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ impl PurlService {

pub async fn base_purl_by_uuid<TX: AsRef<Transactional>>(
&self,
package_version_uuid: &Uuid,
base_purl_uuid: &Uuid,
tx: TX,
) -> Result<Option<BasePurlDetails>, Error> {
let connection = self.db.connection(&tx);

if let Some(package) = base_purl::Entity::find_by_id(*package_version_uuid)
if let Some(package) = base_purl::Entity::find_by_id(*base_purl_uuid)
.one(&connection)
.await?
{
Expand Down

0 comments on commit 1b57cdf

Please sign in to comment.