delete unnecessary type arguments in convertParamsToMap call
This commit is contained in:
parent
a9dfce0ad4
commit
661b55acbc
@ -41,7 +41,7 @@ func (m *Mutation[Payload, Params]) WithQueryParam(
|
||||
|
||||
func (m *Mutation[Payload, Params]) Execute(ctx context.Context, params Params) (Payload, error) {
|
||||
|
||||
paramsMap := convertParamsToMap[Params](params)
|
||||
paramsMap := convertParamsToMap(params)
|
||||
for k, v := range m.additionalPayloadParams {
|
||||
paramsMap[k] = v
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ func (r *Query[ReturnType, Params]) WithQueryParam(
|
||||
|
||||
func (r *Query[ReturnType, Params]) Get(ctx context.Context, params Params) (ReturnType, error) {
|
||||
|
||||
paramsMap := convertParamsToMap[Params](params)
|
||||
paramsMap := convertParamsToMap(params)
|
||||
for k, v := range r.additionalPayloadParams {
|
||||
paramsMap[k] = v
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user