chore: Remove deprecated logo/avatar/away fields (#14705)

* chore: Remove deprecated logo/avatar/away fields

* Use right variables for accounts-step-card

* Remove more deprecated logo/avatar usage

* Dont drop the fields until all usages are gone

* Remove the avatar/logo drops for staggered release

* fix: Typescript blindspot (unvalidated include fields)

* fix: Further updates (mostly to API) typescript missed

---------

Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Bailey Pumfleet <[email protected]>
Co-authored-by: Carina Wollendorfer <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-06-05 16:44:31 +00:00
1 parent e7c638c1e4
commit 78ea4d2f68
15 files changed
+105 -85

No files matched your search

@@ -1,9 +1,9 @@
import type { Prisma } from "@prisma/client";
import fetch from "node-fetch";
import { uploadAvatar } from "@calcom/lib/server/avatar";
import { resizeBase64Image } from "@calcom/lib/server/resizeBase64Image";
import prisma from "@calcom/prisma";
import { uploadAvatar } from "@calcom/trpc/server/routers/loggedInViewer/updateProfile.handler";
interface IPrefillAvatar {
email: string;