Fix comment grammar
This commit is contained in:
parent
f0798440de
commit
0df1a4efc8
@ -14,7 +14,7 @@ def create_status(%User{} = user, %{"status" => _} = data) do
|
|||||||
|
|
||||||
def delete(%User{} = user, id) do
|
def delete(%User{} = user, id) do
|
||||||
# TwitterAPI does not have an "unretweet" endpoint; instead this is done
|
# 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.
|
# when the status to "delete" is actually an Announce (repeat) object.
|
||||||
with %Activity{data: %{"type" => type}} <- Repo.get(Activity, id) do
|
with %Activity{data: %{"type" => type}} <- Repo.get(Activity, id) do
|
||||||
case type do
|
case type do
|
||||||
|
Loading…
Reference in New Issue
Block a user