Skip to content

Commit 4bee75c

Browse files
committed
longer rejection reasons
1 parent 942f2ef commit 4bee75c

File tree

4 files changed

+38
-38
lines changed

4 files changed

+38
-38
lines changed

Cargo.lock

Lines changed: 34 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/backend/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "web"
3-
version = "3.1.16"
3+
version = "3.1.17"
44
edition = "2024"
55

66
[dependencies]

apps/backend/src/routes/user/admin/extensions/_extension_/deny.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ mod post {
1414

1515
#[derive(ToSchema, Validate, Deserialize)]
1616
pub struct Payload {
17-
#[validate(length(min = 1, max = 255))]
18-
#[schema(min_length = 1, max_length = 255)]
17+
#[validate(length(min = 1, max = 4096))]
18+
#[schema(min_length = 1, max_length = 4096)]
1919
deny_reason: String,
2020
}
2121

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ALTER TABLE "extensions" ALTER COLUMN "deny_reason" TYPE text;

0 commit comments

Comments
 (0)