File tree Expand file tree Collapse file tree 3 files changed +9
-12
lines changed
Controller/Shares/UserShares Expand file tree Collapse file tree 3 files changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,10 @@ file static class QueryHelper
3535 Name = x . RecipientUser . Name ,
3636 Image = x . RecipientUser . GetImageUrl ( )
3737 } ,
38- Shockers = x . ShockerMappings . Select ( y => new ShockerPermLimitPairWithId
38+ Shockers = x . ShockerMappings . Select ( y => new ShockerPermLimitPairWithIdAndName
3939 {
4040 Id = y . ShockerId ,
41+ Name = y . Shocker . Name ,
4142 Limits = new ShockerLimits
4243 {
4344 Intensity = y . MaxIntensity ,
@@ -220,5 +221,5 @@ public sealed class ShareRequestCounts
220221
221222public sealed class ShareInviteBaseDetails : ShareRequestBase
222223{
223- public required IEnumerable < ShockerPermLimitPairWithId > Shockers { get ; set ; }
224+ public required IEnumerable < ShockerPermLimitPairWithIdAndName > Shockers { get ; set ; }
224225}
Original file line number Diff line number Diff line change 1+ namespace OpenShock . API . Models . Requests ;
2+
3+ public class ShockerPermLimitPairWithIdAndName : ShockerPermLimitPairWithId
4+ {
5+ public required string Name { get ; set ; }
6+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments