[pbs-devel] [PATCH proxmox] api-macro: fix "Forgerty" typo
Stefan Sterz
s.sterz at proxmox.com
Mon Feb 7 14:54:15 CET 2022
Signed-off-by: Stefan Sterz <s.sterz at proxmox.com>
---
proxmox-api-macro/src/lib.rs | 2 +-
proxmox-api-macro/tests/api1.rs | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/proxmox-api-macro/src/lib.rs b/proxmox-api-macro/src/lib.rs
index e868251..ffe4a80 100644
--- a/proxmox-api-macro/src/lib.rs
+++ b/proxmox-api-macro/src/lib.rs
@@ -103,7 +103,7 @@ fn router_do(item: TokenStream) -> Result<TokenStream, Error> {
},
"CSRFPreventionToken": {
type: String,
- description: "Cross Site Request Forgerty Prevention Token.",
+ description: "Cross Site Request Forgery Prevention Token.",
},
},
},
diff --git a/proxmox-api-macro/tests/api1.rs b/proxmox-api-macro/tests/api1.rs
index ebb896d..fd9a338 100644
--- a/proxmox-api-macro/tests/api1.rs
+++ b/proxmox-api-macro/tests/api1.rs
@@ -31,7 +31,7 @@ use proxmox_router::Permission;
},
"CSRFPreventionToken": {
type: String,
- description: "Cross Site Request Forgerty Prevention Token.",
+ description: "Cross Site Request Forgery Prevention Token.",
},
},
},
@@ -89,7 +89,7 @@ fn create_ticket_schema_check() {
"CSRFPreventionToken",
false,
&::proxmox_schema::StringSchema::new(
- "Cross Site Request Forgerty Prevention Token.",
+ "Cross Site Request Forgery Prevention Token.",
)
.schema(),
),
@@ -138,7 +138,7 @@ fn create_ticket_schema_check() {
},
"CSRFPreventionToken": {
type: String,
- description: "Cross Site Request Forgerty Prevention Token.",
+ description: "Cross Site Request Forgery Prevention Token.",
},
},
},
@@ -190,7 +190,7 @@ fn create_ticket_direct_schema_check() {
"CSRFPreventionToken",
false,
&::proxmox_schema::StringSchema::new(
- "Cross Site Request Forgerty Prevention Token.",
+ "Cross Site Request Forgery Prevention Token.",
)
.schema(),
),
--
2.30.2
More information about the pbs-devel
mailing list