mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-01-25 02:08:19 +00:00
Always attach service_provider_sid to a carrier (#179)
* always attach service_provider_id to a carrier * cleanup Co-authored-by: EgleHelms <e.helms@cognigy.com>
This commit is contained in:
2
.env
2
.env
@@ -1,5 +1,5 @@
|
||||
VITE_API_BASE_URL=http://127.0.0.1:3000/v1
|
||||
VITE_DEV_BASE_URL=http://127.0.0.1:3002/api
|
||||
VITE_DEV_BASE_URL=http://127.0.0.1:3000/v1
|
||||
|
||||
## enables choosing units and lisenced account call limits
|
||||
# VITE_APP_ENABLE_ACCOUNT_LIMITS_ALL=true
|
||||
@@ -327,7 +327,6 @@ export const postServiceProviderLimit = (
|
||||
sid: string,
|
||||
payload: Partial<Limit>
|
||||
) => {
|
||||
console.log(payload);
|
||||
return postFetch<SidResponse, Partial<Limit>>(
|
||||
`${API_SERVICE_PROVIDERS}/${sid}/Limits`,
|
||||
payload
|
||||
|
||||
@@ -481,6 +481,7 @@ export const CarrierForm = ({
|
||||
name: carrierName.trim(),
|
||||
e164_leading_plus: e164,
|
||||
application_sid: applicationSid || null,
|
||||
service_provider_sid: currentServiceProvider.service_provider_sid,
|
||||
account_sid: accountSid || null,
|
||||
requires_register: sipRegister,
|
||||
register_username: sipUser.trim() || null,
|
||||
|
||||
Reference in New Issue
Block a user