Fix settings
parent: tbd commit: e346558
Showing 1 changed file with 1 insertion and 1 deletion
giterated-daemon/src/backend/settings.rs
@@ -66,7 +66,7 @@ impl MetadataBackend for DatabaseSettings { | ||
66 | 66 | value: AnySetting, |
67 | 67 | ) -> Result<(), Error> { |
68 | 68 | sqlx::query!("INSERT INTO repository_settings VALUES ($1, $2, $3) ON CONFLICT (repository, name) DO UPDATE SET value = $3", |
69 | format!("{}/{}", repository.owner, repository.name), name, serde_json::to_string(&value)?) | |
69 | repository.to_string(), name, serde_json::to_string(&value)?) | |
70 | 70 | .execute(&self.pg_pool).await?; |
71 | 71 | |
72 | 72 | Ok(()) |