Skip to content

Commit a54e527

Browse files
committed
fix: error message
1 parent 1524567 commit a54e527

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/api/src/routes/groups.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub async fn create_group(group_name: String) -> Result<entity::group::Model, Se
2424
let group = group
2525
.insert(txn)
2626
.await
27-
.or_internal_server_error("Error inserting group into database")?;
27+
.or_internal_server_error("Error creating group")?;
2828

2929
let user = auth.user.as_ref().or_unauthorized("Not authenticated")?;
3030

0 commit comments

Comments
 (0)