Simple nullability fix for StoreRepo.UpdateSettings

This commit is contained in:
nicolas.dorier
2025-02-15 10:18:22 +09:00
parent 9e58a50dfd
commit 1c8ded9362

View File

@@ -613,7 +613,7 @@ retry:
return data.ToDictionary(pair => pair.Key, pair => Deserialize<T>(pair.Value.Value));
}
public async Task UpdateSetting<T>(string storeId, string name, T obj) where T : class
public async Task UpdateSetting<T>(string storeId, string name, T? obj) where T : class
{
await using var ctx = _ContextFactory.CreateContext();
StoreSettingData? settings = null;