Fix description not being updated on servers.

This commit is contained in:
Paul
2021-07-27 12:29:55 +01:00
parent deb2344428
commit a5f7314f97
3 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
#!/bin/bash
export version=0.5.1-alpha.11
export version=0.5.1-alpha.11-patch.0
echo "pub const VERSION: &str = \"${version}\";" > src/version.rs

View File

@@ -26,7 +26,7 @@ pub async fn req(user: User, target: Ref, data: Json<Data>) -> Result<()> {
data.validate()
.map_err(|error| Error::FailedValidation { error })?;
if data.name.is_none() && data.icon.is_none() && data.banner.is_none() && data.remove.is_none() && data.categories.is_none() && data.system_messages.is_none()
if data.name.is_none() && data.description.is_none() && data.icon.is_none() && data.banner.is_none() && data.remove.is_none() && data.categories.is_none() && data.system_messages.is_none()
{
return Ok(());
}

View File

@@ -1 +1 @@
pub const VERSION: &str = "0.5.1-alpha.11";
pub const VERSION: &str = "0.5.1-alpha.11-patch.0";