CompositeError, UserAuthRequired, /users/self & users/:id, misc
This commit is contained in:
@@ -9,9 +9,12 @@ mod quotes;
|
||||
mod tags;
|
||||
mod users;
|
||||
|
||||
// Mnemosyne, the mother of the nine muses
|
||||
/// Mnemosyne, the mother of the nine muses
|
||||
const DEFAULT_PORT: u16 = 0x9999; // 39321
|
||||
|
||||
/// The string to be returned alongside HTTP 500
|
||||
const ISE_MSG: &str = "Internal server error";
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn Error>> {
|
||||
if let Err(e) = dotenvy::dotenv() {
|
||||
|
||||
Reference in New Issue
Block a user