Update README.md
This commit is contained in:
		
							parent
							
								
									14b18ad1c6
								
							
						
					
					
						commit
						c08a0ac172
					
				
							
								
								
									
										10
									
								
								README.md
								
								
								
								
							
							
						
						
									
										10
									
								
								README.md
								
								
								
								
							| 
						 | 
				
			
			@ -38,6 +38,16 @@ module.exports = {
 | 
			
		|||
    return `https://example.com/${date.format('YYYY-MM-DD')}/channel/${channel.site_id}.html`
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * @param {object} channel Data about the requested channel
 | 
			
		||||
   * @param {string} content The response received after the request at the above url
 | 
			
		||||
   *
 | 
			
		||||
   * @return {string} The function should return URL of the channel logo (optional)
 | 
			
		||||
   */
 | 
			
		||||
  logo: function ({ channel, content }) {
 | 
			
		||||
    return `https://example.com/logos/${channel.site_id}.png`
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * @param {string} content The response received after the request at the above url
 | 
			
		||||
   *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue