Everywhere: Be more granular with @db_save_* calls
This commit is contained in:
parent
a9f5a1de0c
commit
045893b6c6
3 changed files with 5 additions and 4 deletions
|
@ -51,7 +51,7 @@ U0 @slon_api_v1_accounts_post(SlonHttpSession* session)
|
|||
db->o("following")->set(my_acct->@("username"), Json.CreateArray(), JSON_ARRAY);
|
||||
}
|
||||
db->o("following")->a(my_acct->@("username"))->append(Json.CreateItem(acct->@("remote_actor"), JSON_STRING));
|
||||
@slon_db_save_to_disk;
|
||||
@slon_db_save_following_to_disk;
|
||||
// send Follow request
|
||||
@slon_api_v1_accounts_follow_request(db->o("actors")->o((my_acct->@("username")))->@("id"), acct->@("remote_actor"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue