refactor: update invalidation cache

This commit is contained in:
Mauricio Siu
2024-08-17 00:29:05 -06:00
parent ca733addc2
commit c0261384ca

View File

@@ -72,7 +72,7 @@ export const ComposeFileEditor = ({ composeId }: Props) => {
.then(async () => { .then(async () => {
toast.success("Compose config Updated"); toast.success("Compose config Updated");
refetch(); refetch();
await utils.compose.allServices.invalidate({ await utils.compose.getConvertedCompose.invalidate({
composeId, composeId,
}); });
}) })