finish off custom item service

This commit is contained in:
CWX
2025-01-28 19:57:01 +00:00
parent 49724f1850
commit b7184f68bd
2 changed files with 3 additions and 6 deletions
@@ -13,7 +13,6 @@ public class NotifierCallbacks(
NotifierController _notifierController
)
{
/// <summary>
/// Handle client/notifier/channel/create
/// </summary>
@@ -140,11 +140,9 @@ public class CustomItemService(
*/
protected void UpdateBaseItemPropertiesWithOverrides(Props? overrideProperties, TemplateItem itemClone)
{
// for (const propKey in overrideProperties) {
// itemClone._props[propKey] = overrideProperties[propKey];
// }
// TODO: this will need to be different
throw new NotImplementedException();
foreach (var propKey in overrideProperties.GetAllPropsAsDict()) {
itemClone.Properties.GetAllPropsAsDict()[propKey.Key] = overrideProperties.GetAllPropsAsDict()[propKey.Key];
}
}
/**