delete unnecessary type arguments in convertParamsToMap call

This commit is contained in:
Laurent Le Houerou 2024-03-25 08:41:44 +00:00
parent a9dfce0ad4
commit 661b55acbc
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}