ionic-team / ionic-starter-super

The Ionic 2 Super Starter 🎮
Other
376 stars 142 forks source link

Fixed bug with angular 4 and setting HttpParams in api.ts #146

Closed patrickbussmann closed 6 years ago

patrickbussmann commented 6 years ago

Short description of what this resolves:

See https://angular.io/api/common/http/HttpParams#set. The set function will return the HttpParams object which must be used later.

Normally there is a fromObject function but it's only for angular 5. So this solution is good for all :+1:

Changes proposed in this pull request:

Fixes:

140

danielsogl commented 6 years ago

:point_right: This starter repo has moved to the ionic-team/starters repo! :point_left: