Feat/onboarding username (#3580)
* fix: remove duplicate button in textusernamefield * feat: adds username if not present in getting-started first onboarding step * fix: credentials * fix: typo * fix: user type * fix: type errors * Validates successRedirectUrl earlier with zod * Removes deprecated api endpoint * Reduces the data needed for the frontend on onboarding Co-authored-by: Agusti Fernandez Pardo <[email protected]> Co-authored-by: Peer Richelsen <[email protected]> Co-authored-by: Omar López <[email protected]>
This commit is contained in:
8 files changed
+135
-177
No files matched your search
@@ -1,11 +0,0 @@
|
||||
import { EventType } from "@prisma/client";
|
||||
|
||||
import * as fetch from "@lib/core/http/fetch-wrapper";
|
||||
|
||||
type GetEventsResponse = { message: string; data: EventType[] };
|
||||
const getEventTypes = async () => {
|
||||
const response = await fetch.get<GetEventsResponse>("/api/event-type");
|
||||
return response.data;
|
||||
};
|
||||
|
||||
export default getEventTypes;
|
||||
Reference in new issue
Block a user