diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-14 18:43:07 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-14 18:43:07 -0700 |
commit | 8a130e1000a2b49cbfb571ae0b74f0ec8577e9fe (patch) | |
tree | 197618e5b1f03bb292d5b32321d52932f72306c4 /rust/src/endpoint_handlers.rs | |
parent | 534cd7b3fa0a4cb0c19da05f740942b93e8b3659 (diff) | |
download | fatcat-8a130e1000a2b49cbfb571ae0b74f0ec8577e9fe.tar.gz fatcat-8a130e1000a2b49cbfb571ae0b74f0ec8577e9fe.zip |
codegen and rust impl created timestamp
Diffstat (limited to 'rust/src/endpoint_handlers.rs')
-rw-r--r-- | rust/src/endpoint_handlers.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rust/src/endpoint_handlers.rs b/rust/src/endpoint_handlers.rs index ba8505e1..5c22e21d 100644 --- a/rust/src/endpoint_handlers.rs +++ b/rust/src/endpoint_handlers.rs @@ -558,7 +558,9 @@ impl Server { .into_iter() .map(|(eg_row, cl_row, editor_row)| ChangelogEntry { index: cl_row.id, - editgroup: Some(eg_row.into_model_partial(Some(cl_row.id), Some(editor_row.into_model()))), + editgroup: Some( + eg_row.into_model_partial(Some(cl_row.id), Some(editor_row.into_model())), + ), editgroup_id: uuid2fcid(&cl_row.editgroup_id), timestamp: chrono::DateTime::from_utc(cl_row.timestamp, chrono::Utc), }) |