mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Fix bug
This commit is contained in:
		
							parent
							
								
									cad49892d3
								
							
						
					
					
						commit
						fffa32df48
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -130,14 +130,14 @@ async function fetchAny(uri: string) {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
async function mergePack(user: User, note: Note) {
 | 
			
		||||
	if (user !== null) {
 | 
			
		||||
	if (user != null) {
 | 
			
		||||
		return {
 | 
			
		||||
			type: 'User',
 | 
			
		||||
			object: await Users.pack(user, null, { detail: true })
 | 
			
		||||
		};
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (note !== null) {
 | 
			
		||||
	if (note != null) {
 | 
			
		||||
		return {
 | 
			
		||||
			type: 'Note',
 | 
			
		||||
			object: await Notes.pack(note, null, { detail: true })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue