tsk-14: Fix startup crash (#16)

Closes #14

Reviewed-on: phoenix/textsender-auth#16
Co-authored-by: phoenix <kundeng00@pm.me>
Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
phoenix
2025-11-14 17:35:57 +00:00
committed by phoenix
parent ef39949e77
commit 6f608b757c
8 changed files with 48 additions and 60 deletions
+3 -3
View File
@@ -107,8 +107,8 @@ func (m *MockUserStore) UserExists(ctx context.Context, username string) (bool,
_, exists := m.UsersByUsername[username]
if !exists {
return exists, errors.New("User not found")
return exists, nil
} else {
return exists, nil
}
return exists, nil
}