fixed fishconfig reverting captcha every time

This commit is contained in:
Toastie 2025-03-28 21:20:20 +13:00
parent 4c2b42ab7f
commit ea1c8c56e3
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -19,6 +19,8 @@ public sealed class FishConfigService : ConfigServiceBase<FishConfig>
} }
private void Migrate() private void Migrate()
{
if (data.Version < 2)
{ {
ModifyConfig(c => ModifyConfig(c =>
{ {
@ -27,3 +29,4 @@ public sealed class FishConfigService : ConfigServiceBase<FishConfig>
}); });
} }
} }
}