mirror of
https://github.com/redlib-org/redlib.git
synced 2024-12-06 19:27:17 +01:00
Fix #126
This commit is contained in:
+2
-2
@@ -74,7 +74,7 @@ pub async fn page(req: Request<()>) -> tide::Result {
|
||||
prefs: prefs(req),
|
||||
})
|
||||
}
|
||||
Err(msg) => error(msg).await,
|
||||
Err(msg) => error(req, msg).await,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -140,7 +140,7 @@ pub async fn wiki(req: Request<()>) -> tide::Result {
|
||||
page,
|
||||
prefs: prefs(req),
|
||||
}),
|
||||
Err(msg) => error(msg).await,
|
||||
Err(msg) => error(req, msg).await,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user