~stephen-stewart/snapweb/hide-installer-for-oem

« back to all changes in this revision

Viewing changes to snappy/handlers.go

  • Committer: Snappy Tarmac
  • Author(s): John R. Lenton
  • Date: 2015-05-07 17:00:57 UTC
  • mfrom: (118.2.4 filter-by-type)
  • Revision ID: snappy_tarmac-20150507170057-1l26kvufgqknwltl
allPackages now filters by type. by chipaca approved by sergiusens

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
                return
68
68
        }
69
69
 
70
 
        payload, err := h.allPackages(filter.InstalledOnly)
 
70
        payload, err := h.allPackages(&filter)
71
71
        if err != nil {
72
72
                w.WriteHeader(http.StatusInternalServerError)
73
73
                enc.Encode(fmt.Sprintf("Error: %s", err))