Page api stub
This commit is contained in:
		
							
								
								
									
										9
									
								
								frontend/src/rest/apps.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								frontend/src/rest/apps.js
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
				
			|||||||
 | 
					import { restGet } from './restConsumer.js' 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export async function appList(){
 | 
				
			||||||
 | 
						return restGet("/apps")
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export async function checkPage(page){
 | 
				
			||||||
 | 
						return restGet("/apps/" + page)
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user