Update registration_application_view.rs

pull/3755/head
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
1 changed files with 1 additions and 1 deletions

View File

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