added the CreditSendReverseQuote prefix and URL
This commit is contained in:
		
							parent
							
								
									a705443786
								
							
						
					
					
						commit
						81ff6c4034
					
				| @ -27,6 +27,7 @@ const ( | |||||||
| 	ExternalSMSPrefix            = "/api/v1/external" | 	ExternalSMSPrefix            = "/api/v1/external" | ||||||
| 	AliasUpdatePrefix            = "/api/v1/internal/update" | 	AliasUpdatePrefix            = "/api/v1/internal/update" | ||||||
| 	CreditSendPrefix             = "/api/v1/credit-send" | 	CreditSendPrefix             = "/api/v1/credit-send" | ||||||
|  | 	CreditSendReverseQuotePrefix = "/api/v1/pool/reverse-quote" | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| var ( | var ( | ||||||
| @ -59,6 +60,7 @@ var ( | |||||||
| 	ExternalSMSURL            string | 	ExternalSMSURL            string | ||||||
| 	AliasUpdateURL            string | 	AliasUpdateURL            string | ||||||
| 	CreditSendURL             string | 	CreditSendURL             string | ||||||
|  | 	CreditSendReverseQuoteURL string | ||||||
| ) | ) | ||||||
| 
 | 
 | ||||||
| func setBase() error { | func setBase() error { | ||||||
| @ -108,6 +110,7 @@ func LoadConfig() error { | |||||||
| 	ExternalSMSURL, _ = url.JoinPath(externalSMSBase, ExternalSMSPrefix) | 	ExternalSMSURL, _ = url.JoinPath(externalSMSBase, ExternalSMSPrefix) | ||||||
| 	AliasUpdateURL, _ = url.JoinPath(aliasEnsURLBase, AliasUpdatePrefix) | 	AliasUpdateURL, _ = url.JoinPath(aliasEnsURLBase, AliasUpdatePrefix) | ||||||
| 	CreditSendURL, _ = url.JoinPath(dataURLBase, CreditSendPrefix) | 	CreditSendURL, _ = url.JoinPath(dataURLBase, CreditSendPrefix) | ||||||
|  | 	CreditSendReverseQuoteURL, _ = url.JoinPath(dataURLBase, CreditSendReverseQuotePrefix) | ||||||
| 
 | 
 | ||||||
| 	return nil | 	return nil | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user