Skip to content

Commit

Permalink
as2: Like, not Favorite
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Nov 27, 2017
1 parent 51dc793 commit 8e43f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion granary/as2.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _invert(d):
TYPE_TO_OBJECT_TYPE = _invert(OBJECT_TYPE_TO_TYPE)

VERB_TO_TYPE = {
'favorite': 'Favorite',
'favorite': 'Like',
'invite': 'Invite',
'like': 'Like',
'post': 'Create',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"@context": "https://www.w3.org/ns/activitystreams",
"type": "Favorite",
"type": "Like",
"id": "tag:example.com,2001:98765",
"published": "2012-12-05T00:58:26+00:00",
"url": "http://example.com/this/fav",
Expand Down

0 comments on commit 8e43f12

Please sign in to comment.