Added DMail support #5
@ -192,7 +192,7 @@ func GetAllDmails(requestContext model.RequestContext, query map[string]string)
|
||||
if err != nil {
|
||||
// Log the error and return an empty slice and the error.
|
||||
|
||||
return nil, err
|
||||
return []model.DMail{}, nil
|
||||
}
|
||||
|
||||
// Return the list of posts and no error (nil).
|
||||
|
Reference in New Issue
Block a user