Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
Fix functions to be handler methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mchompalova committed Sep 26, 2019
1 parent e297c27 commit 1ab8460
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ func (h *Handler) prepareUPPAnnotations(ctx context.Context, contentUUID string,
func (h *Handler) saveAndReturnAnnotations(ctx context.Context, w http.ResponseWriter, uppList []annotations.Annotation, writeLog *log.Entry, oldHash string, contentUUID string) {
writeLog.Debug("Canonicalizing annotations...")
uppList = h.c14n.Canonicalize(uppList)

writeLog.Debug("Writing to annotations RW...")
newAnnotations := annotations.Annotations{Annotations: uppList}
newHash, err := h.annotationsRW.Write(ctx, contentUUID, &newAnnotations, oldHash)
Expand Down

0 comments on commit 1ab8460

Please sign in to comment.