diff options
| author | Yuval Adam <yuval@y3xz.com> | 2015-06-13 00:41:53 +0300 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2015-06-13 00:41:53 +0300 |
| commit | 9ae25440f70d97ce33dc2b139b381a098f761349 (patch) | |
| tree | b18edc4b6b7b0e1fa4b2622e34ef5e5124df152b /server/methods.js | |
| parent | 25206e29512d99b059bc48e0718e88205d07ae4a (diff) | |
Image proxy is WORKING
Diffstat (limited to 'server/methods.js')
| -rw-r--r-- | server/methods.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/methods.js b/server/methods.js index a177eff..d4cbaec 100644 --- a/server/methods.js +++ b/server/methods.js @@ -1,7 +1,7 @@ Meteor.methods({ getInstagramMedia: function (year, month) { this.unblock(); - return Meteor.http.call('GET', 'https://api.instagram.com/v1/users/self/media/recent', { + return HTTP.get('https://api.instagram.com/v1/users/self/media/recent', { 'params': { 'access_token': Meteor.user().services.instagram.accessToken, 'min_timestamp': Math.round(Date.UTC(month==1?year-1:year, month==1?12:month-1) / 1000), |
