mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:10:11 +00:00
Move GET /like/{id} to POST /item/{id}/activity/{verb}
This commit is contained in:
parent
3a18669730
commit
151db1104a
3 changed files with 24 additions and 22 deletions
|
@ -669,7 +669,7 @@ function doActivityItem(ident, verb, un) {
|
|||
unpause();
|
||||
$('#like-rotator-' + ident.toString()).show();
|
||||
verb = un ? 'un' + verb : verb;
|
||||
$.get('like/' + ident.toString() + '?verb=' + verb, NavUpdate);
|
||||
$.post('item/' + ident.toString() + '/activity/' + verb, NavUpdate);
|
||||
liking = 1;
|
||||
force_update = true;
|
||||
update_item = ident.toString();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue