Merge pull request #646 from AppFlowy-IO/longer-publish-name
chore: allow longer publish name
This commit is contained in:
commit
3e019eef3a
|
|
@ -603,9 +603,9 @@ 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(),
|
||||
"Document name must be at most 50 characters long".to_string(),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue