While initiating GET
request to actix server, it shows the same date for all the entries even though the date is different for all the entries
#1
Labels
help wanted
Extra attention is needed
I wanted to add the db creation timestamp in rfc3339 format for each entry so I did the following modifications.
Added date to
Resource
structAdded serialization function in
common.rs
When the
GET
method is triggered, the current date is shown for all the retrieved entries even if the database is being populated correctly. I want the dates from the database to be returned when retrieving the database contents throughGET
.The text was updated successfully, but these errors were encountered: