Skip to content

Commit

Permalink
Add serde derives for LoginError
Browse files Browse the repository at this point in the history
  • Loading branch information
ljoonal committed Apr 16, 2023
1 parent c8406e2 commit 6e707a6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion onlivfe/src/auth.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
use serde::{Deserialize, Serialize};

use crate::PlatformAccountId;

/// An error that occurred with the login
#[derive(Debug, Clone)]
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(tag = "error", content = "data")]
pub enum LoginError {
/// An error occurred
Error(String),
Expand Down

0 comments on commit 6e707a6

Please sign in to comment.