// saveAnchorHashlink saves the hashlink of an anchor credential so that it may be returned
// in a WebFinger query as an alternate link.
saveAnchorHashlink saves the hashlink of an anchor credential so that it may be returned
in a WebFinger query as an alternate link.
// saveAnchorHashlink saves the hashlink of an anchor credential so that it may be returned // in a WebFinger query as an alternate link .
func (o *Observer) saveAnchorHashlink(ref *url.URL) error {
	err := o.AnchorLinkStore.PutLinks([]*url.URL{ref})
	if err != nil {
		return fmt.Errorf("put anchor link [%s]: %w", ref, err)
	}
	logger.Debugf("Saved anchor link [%s]", ref)
	return nil
}
func ( o * Observer ) saveAnchorHashlink ( ref * url . URL ) error { err := o . AnchorLinkStore . PutLinks ( [ ] * url . URL { ref } ) if err != nil { return fmt . Errorf ( " " , ref , err ) } logger . Debugf ( " " , ref ) return nil }
saveAnchorHashlink saves the hashlink of an anchor credential so that it may be returned
in a WebFinger query as an alternate link.
saveAnchorHashlink saves the hashlink of an anchor credential so that it may be returned in a WebFinger query as an alternate link .