fix: unable to remove banner (#17857)

This commit is contained in:
Anik Dhabal Babu
2024-11-26 18:42:41 +00:00
committed by GitHub
parent 382a27f134
commit 0b66ddc6db
@@ -156,7 +156,7 @@ export const updateHandler = async ({ ctx, input }: UpdateOptions) => {
teamId: currentOrgId,
isBanner: true,
});
} else if (input.banner === "") {
} else {
data.bannerUrl = null;
}