mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	fix return type
This commit is contained in:
		
							parent
							
								
									589a5bd1cf
								
							
						
					
					
						commit
						1bd9fbdd85
					
				@ -142,7 +142,7 @@ const hash = (accessKey) => {
 | 
			
		||||
/**
 | 
			
		||||
 * @param {number} lifespan
 | 
			
		||||
 *
 | 
			
		||||
 * @returns {null|number}
 | 
			
		||||
 * @returns { { lifespan: null | number, expiresAt: null | number } }
 | 
			
		||||
 */
 | 
			
		||||
const getExpirationFields = (lifespan) => {
 | 
			
		||||
  // it must be nil or a finite number >= 0
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user