diff --git a/giterated-daemon/src/backend/settings.rs b/giterated-daemon/src/backend/settings.rs index 0cdeedd..ad5f26c 100644 --- a/giterated-daemon/src/backend/settings.rs +++ b/giterated-daemon/src/backend/settings.rs @@ -66,7 +66,7 @@ impl MetadataBackend for DatabaseSettings { value: AnySetting, ) -> Result<(), Error> { sqlx::query!("INSERT INTO repository_settings VALUES ($1, $2, $3) ON CONFLICT (repository, name) DO UPDATE SET value = $3", - format!("{}/{}", repository.owner, repository.name), name, serde_json::to_string(&value)?) + repository.to_string(), name, serde_json::to_string(&value)?) .execute(&self.pg_pool).await?; Ok(())