1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-12 14:43:56 +00:00

Implemented proper error handling, now we can do user.save($conn)?; and it works.

In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
This commit is contained in:
Daniel García 2018-12-19 21:52:53 +01:00
parent 172f1770cf
commit 6a99849a1e
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
22 changed files with 472 additions and 487 deletions

View file

@ -14,9 +14,8 @@
use std::{path::Path, process::{exit, Command}};
use rocket::Rocket;
#[macro_use]
#[macro_use] mod error;
mod util;
mod api;
mod db;
mod crypto;