We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 633531d commit 134cd8aCopy full SHA for 134cd8a
src/subcommands/server.rs
@@ -236,8 +236,11 @@ mod site {
236
pubkey: XOnlyPublicKey,
237
}
238
239
- pub async fn new_name_form() -> Result<NewNameTemplate, WebError> {
240
- Ok(Default::default())
+ pub async fn new_name_form(State(state): State<AppState>) -> Result<NewNameTemplate, WebError> {
+ Ok(NewNameTemplate {
241
+ confirmations: state.config.confirmations()?,
242
+ ..Default::default()
243
+ })
244
245
246
pub async fn new_name_submit(
0 commit comments