chore: allow longer publish name
This commit is contained in:
parent
6e3f666ce4
commit
8d27f41607
|
|
@ -603,7 +603,7 @@ async fn check_workspace_owner_or_publisher(
|
||||||
|
|
||||||
fn check_collab_publish_name(publish_name: &str) -> Result<(), AppError> {
|
fn check_collab_publish_name(publish_name: &str) -> Result<(), AppError> {
|
||||||
// Check len
|
// Check len
|
||||||
if publish_name.len() > 20 {
|
if publish_name.len() > 50 {
|
||||||
return Err(AppError::InvalidRequest(
|
return Err(AppError::InvalidRequest(
|
||||||
"Document name must be at most 20 characters long".to_string(),
|
"Document name must be at most 20 characters long".to_string(),
|
||||||
));
|
));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue