fixed getNotifications()
This commit is contained in:
		
							parent
							
								
									bc6d02d974
								
							
						
					
					
						commit
						015a3e65e1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -97,7 +97,7 @@ export async function getNotifications(since_id, limit, types) { | |||
|     let url = `https://${get(client).instance.host}/api/v1/notifications`; | ||||
| 
 | ||||
|     let params = new URLSearchParams(); | ||||
|     if (since_id) params.append("max_id", last_post_id); | ||||
|     if (since_id) params.append("since_id", since_id); | ||||
|     if (limit) params.append("limit", limit); | ||||
|     if (types) params.append("types", types.join(',')); | ||||
|     const params_string = params.toString(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue