mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-03 23:14:13 +00:00 
			
		
		
		
	lint
This commit is contained in:
		
							parent
							
								
									6b37c09274
								
							
						
					
					
						commit
						af80fee899
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -42,7 +42,7 @@ export function api<E extends keyof Endpoints, P extends Endpoints[E]['req']>(en
 | 
			
		|||
	promise.then(onFinally, onFinally);
 | 
			
		||||
 | 
			
		||||
	return promise;
 | 
			
		||||
};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Implements Misskey.api.ApiClient.request
 | 
			
		||||
export function apiGet<E extends keyof Endpoints, P extends Endpoints[E]['req']>(endpoint: E, data: P = {} as any): Promise<Endpoints[E]['res']> {
 | 
			
		||||
| 
						 | 
				
			
			@ -76,4 +76,4 @@ export function apiGet<E extends keyof Endpoints, P extends Endpoints[E]['req']>
 | 
			
		|||
	promise.then(onFinally, onFinally);
 | 
			
		||||
 | 
			
		||||
	return promise;
 | 
			
		||||
};
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue