Skip to content

Commit

Permalink
perf: don't retrieve full user object
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Apr 23, 2017
1 parent 42a6db3 commit d55444f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/twitter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export class TwitterService {
const params = new URLSearchParams();
params.set('count', '200');
params.set('screen_name', 'realDonaldTrump');
params.set('trim_user', 'true');

return this.http
.get(endpoint, { params })
Expand Down

0 comments on commit d55444f

Please sign in to comment.