2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2025-01-11 20:15:49 +00:00

Fix resuming migrations, update version number

This commit is contained in:
asonix 2023-07-16 20:13:53 -05:00
parent b5d9167328
commit be73907a0a
4 changed files with 5 additions and 3 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -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 <asonix@asonix.dog>"]
license = "AGPL-3.0"
readme = "README.md"

View file

@ -12,7 +12,7 @@
rustPlatform.buildRustPackage {
pname = "pict-rs";
version = "0.4.1-rc.2";
version = "0.4.1";
src = ./.;
cargoLock = {

View file

@ -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!(