mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-07-04 19:21:58 +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:
@@ -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