reporting/src/reporting.cpp
ACTION reporting::approve(uint64_t key) {
		require_auth( "bsi"_n );
		item_t item( _self, _self.value );
		auto iterator = item.find(key);
		check( !(iterator == item.end()), "No such item on the blockchain.");
		item.modify(iterator, _self, [&]( auto& row ) { 
		  row.approval = 1; 
		});
}
/**
 * This method may be used by the user "bsi" to approve the threat intelligence data.
 * With this method the bsi confirms the execution of the legal duty of the incident reporter. 
 * Additionally this is a sign for the validy fo the threat intelligence data.
 */
This method may be used by the user "bsi" to approve the threat intelligence data.
With this method the bsi confirms the execution of the legal duty of the incident reporter.
Additionally this is a sign for the validy fo the threat intelligence data.
This method may be used by the user " bsi " to approve the threat intelligence data . With this method the bsi confirms the execution of the legal duty of the incident reporter . Additionally this is a sign for the validy fo the threat intelligence data .
ACTION reporting::approve(uint64_t key) {
		require_auth( "bsi"_n );
		item_t item( _self, _self.value );
		auto iterator = item.find(key);
		check( !(iterator == item.end()), "No such item on the blockchain.");
		item.modify(iterator, _self, [&]( auto& row ) { 
		  row.approval = 1; 
		});
}
ACTION reporting :: approve ( uint64_t key ) { require_auth ( " " _n ) ; item_t item ( _self , _self . value ) ; auto iterator = item . find ( key ) ; check ( ! ( iterator == item . end ( ) ) , " " ) ; item . modify ( iterator , _self , [ & ] ( auto & row ) { row . approval = 1 ; } ) ; }
This method may be used by the user "bsi" to approve the threat intelligence data.
This method may be used by the user " bsi " to approve the threat intelligence data .