mirror of
https://github.com/spikecodes/libreddit.git
synced 2026-01-22 12:34:06 +01:00
Fix #126
This commit is contained in:
@@ -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