mirror of
https://github.com/actix/examples
synced 2025-01-22 22:05:57 +01:00
Fix find_user_by_uid's doc comment (#360)
The previous doc comment was referring to the insert_new_user function
This commit is contained in:
parent
3cebb01309
commit
ec6e14aacc
@ -3,7 +3,7 @@ use uuid::Uuid;
|
|||||||
|
|
||||||
use crate::models;
|
use crate::models;
|
||||||
|
|
||||||
/// Run query using Diesel to insert a new database row and return the result.
|
/// Run query using Diesel to find user by uid and return it.
|
||||||
pub fn find_user_by_uid(
|
pub fn find_user_by_uid(
|
||||||
uid: Uuid,
|
uid: Uuid,
|
||||||
conn: &SqliteConnection,
|
conn: &SqliteConnection,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user