Fixing /join route, time check was backwards oops and it was set to GET not post
This commit is contained in:
@@ -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>,
|
||||
|
||||
@@ -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>),
|
||||
|
||||
Reference in New Issue
Block a user