Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

383 B
Raw Blame
use axum::{
    Router,
    routing::{get, post},
};

use crate::api::context::ApiContext;

pub(in crate::api) mod create_instructions;
pub(in crate::api) mod get_instructions;

pub fn router() -> Router<ApiContext> {
    Router::new()
        .route("/", post(create_instructions::create_instructions_handler))
        .route("/", get(get_instructions::get_instructions_handler))
}