mirror of
https://github.com/balzack/databag.git
synced 2025-02-11 19:19:16 +00:00
only return revision if not doing a staggard load
This commit is contained in:
parent
43655bc416
commit
73d09ef4b8
@ -141,7 +141,9 @@ func GetChannelTopics(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
}
|
||||
|
||||
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
|
||||
if !endSet {
|
||||
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
|
||||
}
|
||||
w.Header().Set("Access-Control-Expose-Headers", "*")
|
||||
WriteResponse(w, response)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user