Rename to HandleInvoiceStatus
This commit is contained in:
		
							parent
							
								
									edfbd2cc92
								
							
						
					
					
						commit
						9a87fe7342
					
				@ -12,7 +12,7 @@ import (
 | 
			
		||||
	"github.com/lightningnetwork/lnd/lntypes"
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
func HandleInvoiceAPI(sc context.ServerContext) echo.HandlerFunc {
 | 
			
		||||
func HandleInvoiceStatus(sc context.ServerContext) echo.HandlerFunc {
 | 
			
		||||
	return func(c echo.Context) error {
 | 
			
		||||
		var (
 | 
			
		||||
			invoiceId string
 | 
			
		||||
 | 
			
		||||
@ -46,7 +46,7 @@ func addBackendRoutes(e *echo.Echo, sc ServerContext) {
 | 
			
		||||
	GET(e, sc, "/api/login", handler.HandleLoginCallback)
 | 
			
		||||
	GET(e, sc, "/api/session", handler.HandleCheckSession)
 | 
			
		||||
	GET(e, sc, "/api/invoice/:id",
 | 
			
		||||
		handler.HandleInvoiceAPI,
 | 
			
		||||
		handler.HandleInvoiceStatus,
 | 
			
		||||
		middleware.SessionGuard)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user