Showing 1 changed file with 2 insertions and 2 deletions
giterated-models/src/instance/operations.rs
@@ -162,7 +162,7 @@ impl<B: ObjectBackend + std::fmt::Debug> Object<'_, Instance, B> { | ||
162 | 162 | &mut self, |
163 | 163 | instance: &Instance, |
164 | 164 | name: &str, |
165 | visibility: RepositoryVisibility, | |
165 | visibility: &RepositoryVisibility, | |
166 | 166 | default_branch: &str, |
167 | 167 | owner: &User, |
168 | 168 | ) -> Result<Repository, OperationError<InstanceError>> { |
@@ -170,7 +170,7 @@ impl<B: ObjectBackend + std::fmt::Debug> Object<'_, Instance, B> { | ||
170 | 170 | instance: Some(instance.clone()), |
171 | 171 | name: name.to_string(), |
172 | 172 | description: None, |
173 | visibility, | |
173 | visibility: visibility.clone(), | |
174 | 174 | default_branch: default_branch.to_string(), |
175 | 175 | owner: owner.clone(), |
176 | 176 | }) |