add another missing ToClient

This commit is contained in:
Pilzinsel64
2025-04-01 07:44:51 +02:00
parent bfd48578aa
commit c63b0a9fd2

View File

@@ -34,6 +34,6 @@ public abstract class BaseItemHandler<TEntity, TUpdateMsg>(IApiServer server)
if (UpdateEntity(entity, msg) is ApiResult result)
return result;
server.Manager.Save(entity, true);
return entity.ToItemResult();
return ToClient(entity).ToItemResult();
}
}