fix: eslint warning
This commit is contained in:
		
							parent
							
								
									68335aa91b
								
							
						
					
					
						commit
						774d5a49c4
					
				@ -9,7 +9,7 @@ export const toInventoryResponse = (inventoryDatabase: { accountOwnerId: Types.O
 | 
			
		||||
    return inventoryResponse as unknown as IInventoryResponse;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export const toOid = (objectId: Types.ObjectId) => {
 | 
			
		||||
export const toOid = (objectId: Types.ObjectId): IOid => {
 | 
			
		||||
    return { $oid: objectId.toString() } satisfies IOid;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user