Merge pull request #3309 from Bima42/fix/3308-cannot-update-s3-endpoint

fix: invalidate query missing for s3 destination
This commit is contained in:
Mauricio Siu
2025-12-19 10:39:00 -06:00
committed by GitHub

View File

@@ -122,6 +122,9 @@ export const HandleDestinations = ({ destinationId }: Props) => {
.then(async () => {
toast.success(`Destination ${destinationId ? "Updated" : "Created"}`);
await utils.destination.all.invalidate();
if (destinationId) {
await utils.destination.one.invalidate({ destinationId });
}
setOpen(false);
})
.catch(() => {