only return revision if not doing a staggard load

This commit is contained in:
Roland Osborne 2022-12-28 16:35:09 -08:00
parent 43655bc416
commit 73d09ef4b8

View File

@ -141,7 +141,9 @@ func GetChannelTopics(w http.ResponseWriter, r *http.Request) {
}
}
if !endSet {
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
}
w.Header().Set("Access-Control-Expose-Headers", "*")
WriteResponse(w, response)
}