mirror of
				https://github.com/r-freeman/portfolio.git
				synced 2025-10-31 17:21:11 +00:00 
			
		
		
		
	Fix type issue with spotify.ts
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build And Publish / BuildAndPublish (push) Successful in 3m12s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build And Publish / BuildAndPublish (push) Successful in 3m12s
				
			This commit is contained in:
		
							parent
							
								
									acd3501193
								
							
						
					
					
						commit
						6cd8723962
					
				| @ -45,13 +45,8 @@ export const getCurrentlyPlaying = async () => { | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| export const getRecentlyPlayed = async () => { | export const getRecentlyPlayed = async () => { | ||||||
|     try { |     const {access_token}: Response = await getAccessToken() as Response | ||||||
|         const {access_token}: Response = await getAccessToken() as Response | 
 | ||||||
|     } catch(e) { |  | ||||||
|         console.error(e) |  | ||||||
|         return null |  | ||||||
|     } |  | ||||||
|          |  | ||||||
|     return await fetch(SPOTIFY_RECENTLY_PLAYED, { |     return await fetch(SPOTIFY_RECENTLY_PLAYED, { | ||||||
|         headers: { |         headers: { | ||||||
|             Authorization: `Bearer ${access_token}` |             Authorization: `Bearer ${access_token}` | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user