mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 07:01:31 +08:00 
			
		
		
		
	update content should parse out links #3509
This commit is contained in:
		
							parent
							
								
									bb8496cb3f
								
							
						
					
					
						commit
						bdfdc0402d
					
				@ -123,6 +123,8 @@ function register(router) {
 | 
			
		||||
 | 
			
		||||
        note.setContent(req.body);
 | 
			
		||||
 | 
			
		||||
        noteService.scanForLinks(note);
 | 
			
		||||
 | 
			
		||||
        return res.sendStatus(204);
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -20,7 +20,7 @@ Content-Type: text/plain
 | 
			
		||||
 | 
			
		||||
Changed content
 | 
			
		||||
 | 
			
		||||
> {% client.assert(response.status === 200); %}
 | 
			
		||||
> {% client.assert(response.status === 204); %}
 | 
			
		||||
 | 
			
		||||
###
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user