Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Sep 27, 2024
1 parent 7a7c3bf commit f4d8ee7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions notification-server/src/database.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
use std::{
collections::{HashMap, HashSet},
vec::IntoIter,
};

use crate::models::device::{Device, Preference};
use concordium_rust_sdk::{
base::hashes::BlockHash, common::types::AccountAddress, types::AbsoluteBlockHeight,
};
use deadpool_postgres::{GenericClient, Manager, ManagerConfig, Pool, PoolError, RecyclingMethod};
use lazy_static::lazy_static;
use log::error;
use std::{
collections::{HashMap, HashSet},
vec::IntoIter,
};
use thiserror::Error;
use tokio_postgres::{error::SqlState, types::ToSql, NoTls};

use crate::models::device::{Device, Preference};

#[derive(Debug, Error)]
pub enum Error {
#[error("Unrecoverable connection issue: {0}")]
Expand Down

0 comments on commit f4d8ee7

Please sign in to comment.