Fixing /join route, time check was backwards oops and it was set to GET not post

This commit is contained in:
shockrah
2021-02-25 15:31:45 -08:00
parent ab1c9e40f7
commit 212173f543
4 changed files with 22 additions and 22 deletions

View File

@@ -11,7 +11,7 @@ use crate::common::FromDB;
use crate::{Response, no_conn};
#[allow(dead_code)]
#[derive(Serialize)]
#[derive(Serialize, Debug)]
pub struct Invite {
pub id: BigInt,
pub uses: Option<BigInt>,

View File

@@ -16,6 +16,7 @@ pub type UInteger = u32;
pub type VarChar = String;
#[derive(Debug)]
pub enum Response<T> {
// A set of rows collected
Set(Vec<T>),