mirror of
				https://github.com/aclindsa/moneygo.git
				synced 2025-10-31 01:43:26 -04:00 
			
		
		
		
	API: Move prices under securities
For example, instead of GETting /prices/5 to query a price with ID 5, you now must GET /securities/2/prices/5 (assuming price 5's SecurityId is 2)
This commit is contained in:
		| @@ -94,8 +94,6 @@ func (ah *APIHandler) route(r *http.Request) ResponseWriterWriter { | ||||
| 		return ah.txWrapper(SecurityHandler, r, context) | ||||
| 	case "securitytemplates": | ||||
| 		return SecurityTemplateHandler(r, context) | ||||
| 	case "prices": | ||||
| 		return ah.txWrapper(PriceHandler, r, context) | ||||
| 	case "accounts": | ||||
| 		return ah.txWrapper(AccountHandler, r, context) | ||||
| 	case "transactions": | ||||
|   | ||||
		Reference in New Issue
	
	Block a user