Skip to content

Commit

Permalink
Rename parameter to match column name
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Dec 20, 2024
1 parent 665c2dd commit 44e02f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/remote_settings/src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ impl Storage {
&mut self,
collection_url: &str,
records: &[RemoteSettingsRecord],
timestamp: u64,
last_modified: u64,
metadata: CollectionMetadata,
) -> Result<()> {
let tx = self.conn.transaction()?;
Expand All @@ -200,7 +200,7 @@ impl Storage {
)?;

Self::update_record_rows(&tx, collection_url, records)?;
Self::update_collection_metadata(&tx, collection_url, timestamp, metadata)?;
Self::update_collection_metadata(&tx, collection_url, last_modified, metadata)?;
tx.commit()?;
Ok(())
}
Expand Down

0 comments on commit 44e02f6

Please sign in to comment.