ebanutsya
This commit is contained in:
		
							
								
								
									
										10
									
								
								routes/general.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								routes/general.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
from flask import Blueprint, jsonify, request
 | 
			
		||||
from routes.utils import jwt_protect_blueprint
 | 
			
		||||
import sipro.api.general
 | 
			
		||||
 | 
			
		||||
general_blueprint = jwt_protect_blueprint(Blueprint('general', __name__))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@general_blueprint.get('/getShippingWarehouses')
 | 
			
		||||
def get_shipping_warehouses():
 | 
			
		||||
    return sipro.api.general.get_shipping_warehouses()
 | 
			
		||||
		Reference in New Issue
	
	Block a user