mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	remove duplicate check for note.url
This commit is contained in:
		
							parent
							
								
									43d87270d9
								
							
						
					
					
						commit
						face6527f2
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -439,10 +439,6 @@ export class ApNoteService {
 | 
			
		|||
 | 
			
		||||
		const url = getOneApHrefNullable(note.url);
 | 
			
		||||
 | 
			
		||||
		if (url && !checkHttps(url)) {
 | 
			
		||||
			throw new UnrecoverableError(`unexpected schema of note url ${url}: ${noteUri}`);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (url != null) {
 | 
			
		||||
			if (!checkHttps(url)) {
 | 
			
		||||
				throw new UnrecoverableError(`unexpected schema of note.url ${url} in ${noteUri}`);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue