Skip to content

Commit

Permalink
refactor(webserver): remove useless IDWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxiaoys committed Apr 22, 2024
1 parent 6c257f7 commit 34cf629
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ee/tabby-webserver/src/schema/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,6 @@ impl RefreshTokenResponse {
}
}

// IDWrapper to used as a type guard for refactoring, can be removed in a follow up PR.
// FIXME(meng): refactor out IDWrapper.
#[derive(Serialize, Deserialize, Debug)]
pub struct IDWrapper(pub ID);

#[derive(Debug, Serialize, Deserialize)]
pub struct JWTPayload {
/// Expiration time (as UTC timestamp)
Expand Down

0 comments on commit 34cf629

Please sign in to comment.