File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed 
packages/rs-drive/src/drive/contract 
insert/add_description/v0 
update/update_description/v0 Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ impl Drive {
202202            id :  document_id, 
203203            owner_id, 
204204            properties, 
205-             revision :  None , 
205+             revision :  Some ( 1 ) , 
206206            created_at :  Some ( block_info. time_ms ) , 
207207            updated_at :  None , 
208208            transferred_at :  None , 
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ impl Drive {
155155            let  mut  new_document = existing_documents. remove ( 0 ) ; 
156156            new_document. set ( "description" ,  Value :: Text ( description. clone ( ) ) ) ; 
157157            new_document. set_updated_at ( Some ( block_info. time_ms ) ) ; 
158+             new_document. bump_revision ( ) ; 
158159
159160            let  info = DocumentAndContractInfo  { 
160161                owned_document_info :  OwnedDocumentInfo  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments