From 19f70cdc918769e0485b0e4aba4069327e96dc3b Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Tue, 16 Apr 2024 15:59:11 +0100 Subject: feat(server): add me endpoint (#1954) --- atuin-common/src/api.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'atuin-common/src') diff --git a/atuin-common/src/api.rs b/atuin-common/src/api.rs index d9334ffc..99b57cec 100644 --- a/atuin-common/src/api.rs +++ b/atuin-common/src/api.rs @@ -115,3 +115,8 @@ pub struct DeleteHistoryRequest { pub struct MessageResponse { pub message: String, } + +#[derive(Debug, Serialize, Deserialize)] +pub struct MeResponse { + pub username: String, +} -- cgit v1.3.1