mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29: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) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !endSet {
|
||||||
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
|
w.Header().Set("topic-revision", strconv.FormatInt(channelSlot.Revision, 10))
|
||||||
|
}
|
||||||
w.Header().Set("Access-Control-Expose-Headers", "*")
|
w.Header().Set("Access-Control-Expose-Headers", "*")
|
||||||
WriteResponse(w, response)
|
WriteResponse(w, response)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user