chore: allow longer publish name

This commit is contained in:
Zack Fu Zi Xiang 2024-06-24 15:29:50 +08:00
parent 6e3f666ce4
commit 8d27f41607
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -603,7 +603,7 @@ async fn check_workspace_owner_or_publisher(
fn check_collab_publish_name(publish_name: &str) -> Result<(), AppError> {
// Check len
if publish_name.len() > 20 {
if publish_name.len() > 50 {
return Err(AppError::InvalidRequest(
"Document name must be at most 20 characters long".to_string(),
));