Skip to content

Commit 687f816

Browse files
committed
fix: correct invalidates.
1 parent 76ccf53 commit 687f816

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/routes/(console)/organization-[organization]/domains/retryDomainModal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
error =
4040
'Domain verification failed. Please check your domain settings or try again later';
4141
}
42-
await invalidate(Dependencies.DOMAINS);
42+
await Promise.all([invalidate(Dependencies.DOMAIN), invalidate(Dependencies.DOMAINS)]);
4343
trackEvent(Submit.DomainUpdateVerification);
4444
} catch (e) {
4545
error = e.message;

src/routes/(console)/project-[region]-[project]/functions/function-[function]/domains/retryDomainModal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
await sdk
2525
.forProject(page.params.region, page.params.project)
2626
.proxy.updateRuleVerification(selectedProxyRule.$id);
27-
await invalidate(Dependencies.SITES_DOMAINS);
27+
await invalidate(Dependencies.FUNCTION_DOMAINS);
2828
show = false;
2929
addNotification({
3030
type: 'success',

0 commit comments

Comments
 (0)