diff options
Diffstat (limited to 'src/schema.rs')
| -rw-r--r-- | src/schema.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/schema.rs b/src/schema.rs index f680bbf..46d49cd 100644 --- a/src/schema.rs +++ b/src/schema.rs | |||
| @@ -72,8 +72,8 @@ pub struct Block { | |||
| 72 | 72 | ||
| 73 | #[derive(Serialize, Deserialize, Debug)] | 73 | #[derive(Serialize, Deserialize, Debug)] |
| 74 | pub struct User { | 74 | pub struct User { |
| 75 | username: String, | 75 | pub username: String, |
| 76 | token: String | 76 | pub pubkey: String |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | // TODO: write schema tests using the original repo <09-04-21, yigit> // | 79 | // TODO: write schema tests using the original repo <09-04-21, yigit> // |
