aboutsummaryrefslogtreecommitdiff
path: root/src/modules/interests.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-04-16 21:15:12 -0700
committerFuwn <[email protected]>2023-04-16 21:15:12 -0700
commitc7adc5f014d4635c8468a863a124ddce4a9fe0e7 (patch)
tree2f5a8aafdbf3fa0712d01ecb95ccd10eb691fd10 /src/modules/interests.rs
parentfix(amenadiel): modules macro unwrap on none (diff)
downloadlocus-c7adc5f014d4635c8468a863a124ddce4a9fe0e7.tar.xz
locus-c7adc5f014d4635c8468a863a124ddce4a9fe0e7.zip
refactor(response): rewrite unnecessary macro to function
Diffstat (limited to 'src/modules/interests.rs')
-rw-r--r--src/modules/interests.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/interests.rs b/src/modules/interests.rs
index 6762e55..90d96eb 100644
--- a/src/modules/interests.rs
+++ b/src/modules/interests.rs
@@ -51,13 +51,13 @@ pub fn module(router: &mut windmark::Router) {
"/interests",
"A Few Interests of Fuwn",
move |context| {
- crate::success!(
- format!(
+ crate::response::success(
+ &format!(
"# Interests\n\nA collection of things that I think are pretty neat \
and I am considering using more in the future.\n\n{}",
contacts.join("\n")
),
- context
+ &context
)
},
);