~hime/aqua

c41bae7d27cc5dc78a7bd8eaed48538ec7983527 — Robbie Straw 7 years ago f33d922
unnecessary type
1 files changed, 1 insertions(+), 1 deletions(-)

M src/bin/aqua_watch.rs
M src/bin/aqua_watch.rs => src/bin/aqua_watch.rs +1 -1
@@ 148,7 148,7 @@ fn establish_connection() -> ProcessingResult<PgConnection> {
fn create_db_entry(digest: &str, mime_ty: &str) -> ProcessingResult<Entry> {
    let pg_conn = establish_connection()?;
    let aqua_entry = NewEntry { hash: &digest, mime: Some(&mime_ty) };
    let entry: Result<Entry, diesel::result::Error> = diesel::insert(&aqua_entry)
    let entry = diesel::insert(&aqua_entry)
        .into(schema::entries::table)
        .get_result(&pg_conn);