summaryrefslogtreecommitdiff
path: root/Hutch/Views/Lookup/LookupView.swift
diff options
context:
space:
mode:
Diffstat (limited to 'Hutch/Views/Lookup/LookupView.swift')
-rw-r--r--Hutch/Views/Lookup/LookupView.swift20
1 files changed, 11 insertions, 9 deletions
diff --git a/Hutch/Views/Lookup/LookupView.swift b/Hutch/Views/Lookup/LookupView.swift
index f45082d..64ca39d 100644
--- a/Hutch/Views/Lookup/LookupView.swift
+++ b/Hutch/Views/Lookup/LookupView.swift
@@ -233,15 +233,17 @@ final class LookupViewModel {
let repository = try await appState.resolveRepository(owner: owner, name: name, service: service)
let resolvedRepository = RepositorySummary(
- id: repository.id,
- rid: repository.rid,
- service: service,
- name: repository.name,
- description: repository.description,
- visibility: repository.visibility,
- updated: repository.updated,
- owner: repository.owner,
- head: repository.head
+ fields: .init(
+ id: repository.id,
+ rid: repository.rid,
+ service: service,
+ name: repository.name,
+ description: repository.description,
+ visibility: repository.visibility,
+ updated: repository.updated,
+ owner: repository.owner,
+ head: repository.head
+ )
)
return .repository(resolvedRepository)