1
0
Fork 0
forked from mirrors/akkoma

Fix comment grammar

This commit is contained in:
Francis Dinh 2018-04-25 00:46:06 -04:00
parent f0798440de
commit 0df1a4efc8

View file

@ -14,7 +14,7 @@ def create_status(%User{} = user, %{"status" => _} = data) do
def delete(%User{} = user, id) do
# TwitterAPI does not have an "unretweet" endpoint; instead this is done
# via the "destroy" endpoint. Therefore, there is a need to handle
# via the "destroy" endpoint. Therefore, we need to handle
# when the status to "delete" is actually an Announce (repeat) object.
with %Activity{data: %{"type" => type}} <- Repo.get(Activity, id) do
case type do