From 702cafc0f5e9b0ace45c7a7a8b816888cf3e6509 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Tue, 9 May 2023 13:10:07 +0200 Subject: [PATCH] make token pub --- src/api/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/types.rs b/src/api/types.rs index 47522ba..cb349bd 100644 --- a/src/api/types.rs +++ b/src/api/types.rs @@ -155,7 +155,7 @@ pub struct UserObject { #[derive(Debug)] pub struct User<'a> { pub belongs_to: &'a mut Instance, - token: String, + pub token: String, pub limits: Limits, pub settings: UserSettings, pub object: Option,