mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2025-12-19 05:37:43 +00:00
Update form.tsx (#545)
This commit is contained in:
@@ -363,11 +363,16 @@ export const CarrierForm = ({
|
||||
? putSipGateway(sip_gateway_sid, g)
|
||||
: postSipGateway({ ...g, voip_carrier_sid }),
|
||||
),
|
||||
).then(() => {
|
||||
if (carrierSipGateways) {
|
||||
carrierSipGateways.refetch();
|
||||
}
|
||||
});
|
||||
)
|
||||
.then(() => {
|
||||
if (carrierSipGateways) {
|
||||
carrierSipGateways.refetch();
|
||||
}
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error("Error updating SIP gateways:", error);
|
||||
toastError(error.msg);
|
||||
});
|
||||
};
|
||||
|
||||
const handleSmppGatewayPutPost = (voip_carrier_sid: string) => {
|
||||
|
||||
Reference in New Issue
Block a user