From d6571b17ca7978c5b59904239131f3ab9efff0fb Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 17 Sep 2020 15:04:23 -0700 Subject: [PATCH] exposing invites struct as public --- server-api/db/src/invites.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server-api/db/src/invites.rs b/server-api/db/src/invites.rs index 92f7558..f1fe750 100644 --- a/server-api/db/src/invites.rs +++ b/server-api/db/src/invites.rs @@ -9,10 +9,10 @@ use crate::common::FromDB; use crate::Response; #[allow(dead_code)] -struct Invite { - id: BigInt, - uses: Option, - expires: bool +pub struct Invite { + pub id: BigInt, + pub uses: Option, + pub expires: bool } #[async_trait]