fever api last_refreshed_on_time
This commit is contained in:
parent
0226c8da23
commit
60a947f131
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ type FeverFavicon struct {
|
|||
func writeFeverJSON(rw http.ResponseWriter, data map[string]interface{}) {
|
||||
data["api_version"] = 1
|
||||
data["auth"] = 1
|
||||
// NOTE: does not adhere to the API spec
|
||||
data["last_refreshed_on_time"] = time.Now().Unix()
|
||||
writeJSON(rw, data)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue