Skip to content

Commit

Permalink
chore: address merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
thevaibhav-dixit committed Jun 11, 2024
1 parent d0b21bf commit 695a7ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cala-server/src/integration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ impl Integrations {
name: String,
data: impl serde::Serialize,
) -> Result<Integration, IntegrationError> {
let integration = Integration::new(name, data);
let integration = Integration::new(id, name, data);

let (cipher, nonce) = integration.data.encrypt(&self.encryption_config.key)?;
sqlx::query!(
r#"INSERT INTO integrations (id, name, cipher, nonce)
Expand Down

0 comments on commit 695a7ce

Please sign in to comment.