[#643] Fix missing const api.QueryVersionID

Signed-off-by: Angira Kekteeva <kira@nspcc.ru>
This commit is contained in:
Angira Kekteeva 2022-08-05 06:19:47 +04:00 committed by Kirillov Denis
parent 072e694540
commit 1ee1b8bb79

View file

@ -86,7 +86,7 @@ func (h *handler) GetObjectTaggingHandler(w http.ResponseWriter, r *http.Request
p := &layer.ObjectVersion{
BktInfo: bktInfo,
ObjectName: reqInfo.ObjectName,
VersionID: reqInfo.URL.Query().Get("versionId"),
VersionID: reqInfo.URL.Query().Get(api.QueryVersionID),
}
versionID, tagSet, err := h.obj.GetObjectTagging(r.Context(), p)