Just a whole bunch of fixing
This commit is contained in:
@@ -27,7 +27,7 @@ type ListFile struct {
|
||||
|
||||
// GetList get a List from the pixeldrain API. Errors will be available through
|
||||
// List.Error. Standard error checks apply.
|
||||
func (p *PixelAPI) GetList(id string) (resp *List, err *Error) {
|
||||
func (p *PixelAPI) GetList(id string) (resp *List, err error) {
|
||||
resp = &List{}
|
||||
err = p.jsonRequest("GET", p.apiEndpoint+"/list/"+id, resp)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user