Remove timex
This commit is contained in:
parent
10756907dc
commit
f43b4bd038
3 changed files with 60 additions and 47 deletions
|
@ -24,13 +24,12 @@ defmodule NullaWeb.ActorController do
|
|||
|> send_resp(200, Jason.encode!(ActivityPub.actor(actor)))
|
||||
else
|
||||
notes = Note.get_latest_notes(actor.id)
|
||||
following = Utils.count_following_by_username!(actor.preferredUsername)
|
||||
followers = Utils.count_followers_by_username!(actor.preferredUsername)
|
||||
following = 0
|
||||
followers = 0
|
||||
|
||||
render(
|
||||
conn,
|
||||
:show,
|
||||
domain: domain,
|
||||
actor: actor,
|
||||
notes: notes,
|
||||
following: following,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue