mirror of
				https://github.com/immich-app/immich.git
				synced 2025-11-03 19:17:11 -05:00 
			
		
		
		
	fix(web): profile picture url (#9754)
This commit is contained in:
		
							parent
							
								
									8a7b0f66a4
								
							
						
					
					
						commit
						98c4c683ae
					
				@ -179,8 +179,8 @@ export const getAssetThumbnailUrl = (
 | 
				
			|||||||
  return createUrl(path, { format, key: getKey(), c: checksum });
 | 
					  return createUrl(path, { format, key: getKey(), c: checksum });
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export const getProfileImageUrl = (...[userId]: [string]) => {
 | 
					export const getProfileImageUrl = (userId: string) => {
 | 
				
			||||||
  const path = `/users/profile-image/${userId}`;
 | 
					  const path = `/users/${userId}/profile-image`;
 | 
				
			||||||
  return createUrl(path);
 | 
					  return createUrl(path);
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user