// DeleteReference deletes the reference of the given type from the given object.
DeleteReference deletes the reference of the given type from the given object.
// DeleteReference deletes the reference of the given type from the given object .
func (s *Provider) DeleteReference(referenceType spi.ReferenceType, objectIRI, referenceIRI *url.URL) error {
	logger.Debugf("[%s] Deleting reference of type %s from object %s: %s",
		s.serviceName, referenceType, objectIRI, referenceIRI)
	err := s.referenceStore.Delete(getRefKey(referenceType, objectIRI, referenceIRI))
	if err != nil {
		return orberrors.NewTransient(fmt.Errorf("failed to delete reference: %w", err))
	}
	return nil
}
func ( s * Provider ) DeleteReference ( referenceType spi . ReferenceType , objectIRI , referenceIRI * url . URL ) error { logger . Debugf ( " " , s . serviceName , referenceType , objectIRI , referenceIRI ) err := s . referenceStore . Delete ( getRefKey ( referenceType , objectIRI , referenceIRI ) ) if err != nil { return orberrors . NewTransient ( fmt . Errorf ( " " , err ) ) } return nil }
DeleteReference deletes the reference of the given type from the given object.
DeleteReference deletes the reference of the given type from the given object .