Tweak actor refresh
This commit is contained in:
parent
7a665df2b5
commit
8e7fbcc501
2 changed files with 5 additions and 2 deletions
|
@ -248,8 +248,9 @@ async def update_actor_if_needed(
|
|||
actor_in_db.ap_actor = ra.ap_actor
|
||||
actor_in_db.handle = ra.handle
|
||||
actor_in_db.ap_type = ra.ap_type
|
||||
actor_in_db.updated_at = now()
|
||||
await db_session.flush()
|
||||
|
||||
actor_in_db.updated_at = now()
|
||||
await db_session.flush()
|
||||
|
||||
|
||||
@dataclass
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue