exposing invites struct as public

This commit is contained in:
shockrah 2020-09-17 15:04:23 -07:00
parent 0b42675739
commit d6571b17ca

View File

@ -9,10 +9,10 @@ use crate::common::FromDB;
use crate::Response;
#[allow(dead_code)]
struct Invite {
id: BigInt,
uses: Option<BigInt>,
expires: bool
pub struct Invite {
pub id: BigInt,
pub uses: Option<BigInt>,
pub expires: bool
}
#[async_trait]