From e5aff12f94f76bc046e2ed0a4815d0abd5c9247a Mon Sep 17 00:00:00 2001 From: Flori Weber Date: Sat, 10 Jun 2023 19:35:57 +0200 Subject: [PATCH] "Normalize" RolePositionUpdateSchema --- src/types/schema/role.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/schema/role.rs b/src/types/schema/role.rs index 97ab248..65faa39 100644 --- a/src/types/schema/role.rs +++ b/src/types/schema/role.rs @@ -21,6 +21,6 @@ pub struct RoleCreateModifySchema { /// Represents the schema which needs to be sent to update a roles' position. /// See: [https://docs.spacebar.chat/routes/#cmp--schemas-rolepositionupdateschema](https://docs.spacebar.chat/routes/#cmp--schemas-rolepositionupdateschema) pub struct RolePositionUpdateSchema { - pub id: Snowflake, - pub position: i32, + pub id: String, + pub position: u16, }