Update registration_application_view.rs

This commit is contained in:
dullbananas 2023-08-02 20:41:29 -07:00 committed by GitHub
parent 681e19180d
commit 2e98e4bb83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ impl JoinView for RegistrationApplicationView {
) -> Self {
Self {
admin: Option::zip(admin, registration_application.admin_id)
.map(|admin, id| admin.into_full(id)),
.map(|(admin, id)| admin.into_full(id)),
creator: creator.into_full(creator_local_user.person_id),
creator_local_user: creator_local_user.into_full(registration_application.local_user_id),
registration_application,