diff --git a/src/core/requests/get_me.rs b/src/core/requests/get_me.rs index a188668e..62bd4ad8 100644 --- a/src/core/requests/get_me.rs +++ b/src/core/requests/get_me.rs @@ -5,12 +5,12 @@ use reqwest::r#async::multipart::Form; #[derive(Debug, Constructor, PartialEq, Eq)] -pub struct GetMe<'a> { - token: &'a str, +pub struct GetMe { + token: String, } -impl Request for GetMe<'_> { +impl Request for GetMe { fn name(&self) -> &str { "getMe" } fn params(self) -> Option
{ None } - fn token(&self) -> &str { self.token } + fn token(&self) -> &str { &self.token } } \ No newline at end of file