Commit 0188b331 authored by Robert Knight's avatar Robert Knight

Update profile.read hypermedia endpoint

In preparation for adding a profile update endpoint, the name of the
route for fetching the profile was renamed to 'profile.read'.

See https://github.com/hypothesis/h/commit/a3d45a4a4abb5b7b6f899eade5186820340a545c
parent d76f7c3c
......@@ -143,7 +143,7 @@ function store($http, $q, auth, settings) {
get: apiCall('annotation.read'),
update: apiCall('annotation.update'),
},
profile: apiCall('profile'),
profile: apiCall('profile.read'),
};
}
......
......@@ -72,8 +72,10 @@ describe('store', function () {
url: 'http://example.com/api/search',
},
profile: {
method: 'GET',
url: 'http://example.com/api/profile',
read: {
method: 'GET',
url: 'http://example.com/api/profile',
},
},
},
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment