From e1a8827a587949f3ac0c7a299e2745820ab368e1 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sun, 24 Aug 2025 03:56:02 -0400 Subject: Stop returning an HTTP body from `POST /api/invite/:id`. As with the previous commits, the body was never actually being used. --- src/user/history.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/history.rs') diff --git a/src/user/history.rs b/src/user/history.rs index 72e0aee..4f99130 100644 --- a/src/user/history.rs +++ b/src/user/history.rs @@ -20,6 +20,7 @@ impl History { // if this returns a redacted or modified version of the user. If we implement // renames by redacting the original name, then this should return the edited // user, not the original, even if that's not how it was "as created.") + #[cfg(test)] pub fn as_created(&self) -> User { self.user.clone() } -- cgit v1.2.3