Skip to content

Commit a3bed97

Browse files
fixup! fixup! feat: make user find or create public
1 parent 903493d commit a3bed97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/whitenoise/users.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ impl Whitenoise {
356356
///
357357
/// # Returns
358358
///
359-
/// Returns a `Result<(User, bool)>` containing:
360-
/// - `Ok((User, bool))` - A tuple with the user and a boolean indicating if the user was newly created (true) or found (false)
359+
/// Returns a `Result<User>` containing:
360+
/// - `Ok(User)` - The found or created user
361361
/// - `Err(WhitenoiseError)` - If there's a database error
362362
///
363363
/// # Examples

0 commit comments

Comments
 (0)