Skip to content

Commit 00c293c

Browse files
committed
refactor: [#615] added missing error to function comments
1 parent e527867 commit 00c293c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/user.rs

+1
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ impl ProfileService {
229229
/// * `ServiceError::PasswordTooLong` if the supplied password is too long.
230230
/// * An error if unable to successfully hash the password.
231231
/// * An error if unable to change the password in the database.
232+
/// * An error if it is not possible to authorize the action
232233
pub async fn change_password(
233234
&self,
234235
user_id: UserId,

0 commit comments

Comments
 (0)