Commit Graph

4 Commits

Author SHA1 Message Date
supercmmetry
36ca95e2e3
chore: fix warnings and cargo fmt
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-07-29 11:42:25 +05:30
62df3f239a
cargo fmt
Signed-off-by: ATechnoHazard <amolele@gmail.com>
2020-06-26 16:44:07 +05:30
supercmmetry
de741f451e
refactor: Remove unused code
- DbConn moved to /src/api/guards/db.rs
- Removed redundant imports in /src/api/routes

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2020-06-26 08:14:19 +05:30
supercmmetry
74aa1e3852
utils: Implement error struct
- Implement Responder trait for Error
- Implement Responder trait for Success

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2020-06-24 13:55:28 +05:30