diff --git a/Cargo.lock b/Cargo.lock index ce61648..7ae3b44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1642,7 +1642,7 @@ dependencies = [ [[package]] name = "pict-rs" -version = "0.4.1-rc.2" +version = "0.4.1" dependencies = [ "actix-form-data", "actix-rt", diff --git a/Cargo.toml b/Cargo.toml index 6500a6a..806646e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pict-rs" description = "A simple image hosting service" -version = "0.4.1-rc.2" +version = "0.4.1" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/pict-rs.nix b/pict-rs.nix index f2a849b..85c9f1c 100644 --- a/pict-rs.nix +++ b/pict-rs.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage { pname = "pict-rs"; - version = "0.4.1-rc.2"; + version = "0.4.1"; src = ./.; cargoLock = { diff --git a/src/migrate_store.rs b/src/migrate_store.rs index 84a92b5..247acc4 100644 --- a/src/migrate_store.rs +++ b/src/migrate_store.rs @@ -284,6 +284,8 @@ where migrate_details(repo, &original_identifier, &new_identifier).await?; repo.relate_identifier(hash.clone().into(), &new_identifier) .await?; + repo.mark_migrated(&original_identifier, &new_identifier) + .await?; } Err(MigrateError::Details(e)) => { tracing::warn!(