Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
Signed-off-by: bkioshn <[email protected]>
  • Loading branch information
bkioshn committed Oct 15, 2024
1 parent f0d7766 commit 54258ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion catalyst-gateway/bin/src/db/event/config/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@ impl ConfigKey {
};

// Validate the value against the schema
anyhow::ensure!(validator.is_valid(value), "Invalid JSON, Failed schema validation");
anyhow::ensure!(
validator.is_valid(value),
"Invalid JSON, Failed schema validation"
);
Ok(())
}

Expand Down
3 changes: 2 additions & 1 deletion catalyst-gateway/bin/src/settings/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ const CHECK_CONFIG_TICK_DEFAULT: &str = "5s";

/// Default Event DB URL.
const EVENT_DB_URL_DEFAULT: &str =
"postgresql://postgres:postgres@localhost/catalyst_events?sslmode=disable";
// "postgresql://postgres:postgres@localhost/catalyst_events?sslmode=disable";
"postgres://catalyst-event-dev:12341234@localhost:5432/CatalystEventDev?sslmode=disable";

/// Hash the Public IPv4 and IPv6 address of the machine, and convert to a 128 bit V4
/// UUID.
Expand Down

0 comments on commit 54258ef

Please sign in to comment.