Skip to content

Commit f5a9b25

Browse files
committed
get method on user correctly points to /me
1 parent d7bcf4f commit f5a9b25

File tree

1 file changed

+1
-0
lines changed
  • templates/javascript/services

1 file changed

+1
-0
lines changed

Diff for: templates/javascript/services/User.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ angular.module('<%= scriptAppName %>')
66
{id: '@id'}, //parameters default
77
{
88
update: { method: 'PUT', params: {} },
9+
get: { method: 'GET', params: { id:'me' } }
910
});
1011
});

0 commit comments

Comments
 (0)