Fix missing definition of flags on creation.
This commit is contained in:
@@ -77,6 +77,8 @@ pub async fn req(user: User, info: Json<Data>) -> Result<Value> {
|
|||||||
|
|
||||||
icon: None,
|
icon: None,
|
||||||
banner: None,
|
banner: None,
|
||||||
|
|
||||||
|
flags: None,
|
||||||
nsfw: info.nsfw.unwrap_or_default()
|
nsfw: info.nsfw.unwrap_or_default()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user