mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-01-01 02:03:32 +00:00
Fix migrator not doing adaption hints properly
This commit is contained in:
parent
426b0c6024
commit
110dee102c
@ -69,7 +69,7 @@ internal class M0003SystemTextJson : IProfileMigration
|
|||||||
else if (type.GetValue<string>() == "Artemis.Storage.Entities.Profile.AdaptionHints.SingleLedAdaptionHintEntity, Artemis.Storage")
|
else if (type.GetValue<string>() == "Artemis.Storage.Entities.Profile.AdaptionHints.SingleLedAdaptionHintEntity, Artemis.Storage")
|
||||||
jsonObject["$type"] = "SingleLed";
|
jsonObject["$type"] = "SingleLed";
|
||||||
// Conditions
|
// Conditions
|
||||||
if (type.GetValue<string>() == "Artemis.Storage.Entities.Profile.Conditions.AlwaysOnConditionEntity, Artemis.Storage")
|
else if (type.GetValue<string>() == "Artemis.Storage.Entities.Profile.Conditions.AlwaysOnConditionEntity, Artemis.Storage")
|
||||||
jsonObject["$type"] = "AlwaysOn";
|
jsonObject["$type"] = "AlwaysOn";
|
||||||
else if (type.GetValue<string>() == "Artemis.Storage.Entities.Profile.Conditions.EventConditionEntity, Artemis.Storage")
|
else if (type.GetValue<string>() == "Artemis.Storage.Entities.Profile.Conditions.EventConditionEntity, Artemis.Storage")
|
||||||
jsonObject["$type"] = "Event";
|
jsonObject["$type"] = "Event";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user