diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T16·02+0200 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-04-08T16·02+0200 |
commit | 6e56f8e729551ff14b7a72ca889b8dd38999fb2d (patch) | |
tree | 1533d6379077741191f57149a776297f8168bcdf /src/models.rs | |
parent | 7dca9183c581f803f7b456712dfed655722986e8 (diff) |
feat(main/templates): Add barebones single-thread view
Diffstat (limited to 'src/models.rs')
-rw-r--r-- | src/models.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models.rs b/src/models.rs index 929bd0507e94..74b386a19cf9 100644 --- a/src/models.rs +++ b/src/models.rs @@ -8,7 +8,7 @@ pub struct Thread { pub posted: DateTime<Utc>, } -#[derive(Queryable)] +#[derive(Queryable, Serialize)] pub struct Post { pub id: i32, pub thread: i32, |