Fix indexable setting

This commit is contained in:
Grishka
2023-09-22 21:33:21 +03:00
committed by LucasGGamerM
parent fd34be3c66
commit 994ae0242c
4 changed files with 10 additions and 8 deletions

View File

@@ -140,8 +140,6 @@ public class Account extends BaseModel implements Searchable{
*/
public Instant muteExpiresAt;
public boolean noindex;
public boolean indexable;
public boolean hideCollections;
public List<Role> roles;
@@ -242,8 +240,6 @@ public class Account extends BaseModel implements Searchable{
", suspended="+suspended+
", muteExpiresAt="+muteExpiresAt+
", noindex="+noindex+
", indexable="+indexable+
", hideCollections="+hideCollections+
'}';
}
}

View File

@@ -37,6 +37,8 @@ public class Source extends BaseModel{
* The number of pending follow requests.
*/
public int followRequestCount;
public Boolean indexable;
public boolean hideCollections;
@Override
public void postprocess() throws ObjectValidationException{
@@ -54,6 +56,8 @@ public class Source extends BaseModel{
", sensitive="+sensitive+
", language='"+language+'\''+
", followRequestCount="+followRequestCount+
", indexable="+indexable+
", hideCollections="+hideCollections+
'}';
}
}