aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/mod.rs
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-03-21 20:04:39 +0000
committerGitHub <noreply@github.com>2021-03-21 20:04:39 +0000
commitc9579cb9ca2a6a165d10f128e0af1dfd372e0c03 (patch)
tree1d4feecb422aae3cde1cc7cad54ccc73b2dae410 /src/command/mod.rs
parentAdd TUI, resolve #19, #17, #16 (#21) (diff)
downloadatuin-c9579cb9ca2a6a165d10f128e0af1dfd372e0c03.zip
Implement server (#23)
* Add initial database and server setup * Set up all routes, auth, etc * Implement sessions, password auth, hashing with argon2, and history storage
Diffstat (limited to 'src/command/mod.rs')
-rw-r--r--src/command/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/mod.rs b/src/command/mod.rs
index 3ebb92e0..a5ea0228 100644
--- a/src/command/mod.rs
+++ b/src/command/mod.rs
@@ -49,7 +49,7 @@ impl AtuinCmd {
match self {
Self::History(history) => history.run(db),
Self::Import(import) => import.run(db),
- Self::Server(server) => server.run(),
+ Self::Server(server) => server.run(settings),
Self::Stats(stats) => stats.run(db, settings),
Self::Init => init::init(),
Self::Search { query } => search::run(&query, db),