equal
deleted
inserted
replaced
26 var params apiCallParams |
26 var params apiCallParams |
27 |
27 |
28 if len(excludeTypes) > 0 { |
28 if len(excludeTypes) > 0 { |
29 params = make(apiCallParams) |
29 params = make(apiCallParams) |
30 for i, eType := range excludeTypes { |
30 for i, eType := range excludeTypes { |
31 qID := fmt.Sprintf("exclude_types[%d]", i) |
31 qID := fmt.Sprintf("[%d]exclude_types", i) |
32 params[qID] = eType |
32 params[qID] = eType |
33 } |
33 } |
34 } |
34 } |
35 |
35 |
36 if err := mc.apiCall("v1/notifications", rest.Get, params, lopt, &links, ¬ifications); err != nil { |
36 if err := mc.apiCall("v1/notifications", rest.Get, params, lopt, &links, ¬ifications); err != nil { |