Skip to content

Commit

Permalink
HAWKULAR-949 - Added the update operation to Tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrohling committed Jan 25, 2016
1 parent 310b464 commit 60f8861
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rest/hawkRest-accounts-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ module hawkularRest {
factory.Persona = $resource(prefix + '/hawkular/accounts/personas/:id', {id:'@id'});
factory.Role = $resource(prefix + '/hawkular/accounts/roles/:id', {id:'@id'});
factory.Permission = $resource(prefix + '/hawkular/accounts/permissions/:id', {id:'@id'});
factory.Token = $resource(prefix + '/secret-store/v1/tokens/:id', {id:'@id'});
factory.Token = $resource(prefix + '/secret-store/v1/tokens/:id', {id:'@id'}, {
'update': {method: 'PUT'}
}
);
factory.OrganizationJoinRequest = $resource(prefix + '/hawkular/accounts/organizationJoinRequests/:organizationId', {organizationId:'@organizationId'}, {
'update': {method: 'PUT'}
}
Expand Down

0 comments on commit 60f8861

Please sign in to comment.