Merge pull request #10138 from abpframework/liangshiwei/patch-1

Fix ClientProxyBase
pull/10139/head
maliming 4 years ago committed by GitHub
commit 103250e53c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -65,7 +65,7 @@ namespace Volo.Abp.Http.Client.ClientProxying
action,
action.Parameters
.GroupBy(x => x.NameOnMethod)
.Select((x, i) => new KeyValuePair<string, object>(x.Key, arguments.Values.Skip(i).Take(1)))
.Select((x, i) => new KeyValuePair<string, object>(x.Key, arguments.Values.Skip(i).FirstOrDefault()))
.ToDictionary(x => x.Key, x => x.Value),
typeof(TService));
}

Loading…
Cancel
Save