chore: finish renaming pages to communities
This commit is contained in:
parent
d6fbfc3cd6
commit
00abbc8fa2
8 changed files with 31 additions and 30 deletions
|
@ -87,7 +87,7 @@ impl DataManager {
|
|||
// incr corresponding
|
||||
match data.asset_type {
|
||||
AssetType::Journal => {
|
||||
if let Err(e) = self.incr_page_likes(data.id).await {
|
||||
if let Err(e) = self.incr_community_likes(data.id).await {
|
||||
return Err(e);
|
||||
}
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ impl DataManager {
|
|||
// decr corresponding
|
||||
match reaction.asset_type {
|
||||
AssetType::Journal => {
|
||||
if let Err(e) = self.decr_page_likes(reaction.asset).await {
|
||||
if let Err(e) = self.decr_community_likes(reaction.asset).await {
|
||||
return Err(e);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue