feat(infisical-pg): completed signup, login, password and backup key migration

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent 05205d1eff
commit fcfd6b3fb2
68 changed files with 7529 additions and 58 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ export const verifySignupInvite = async (details: VerifySignupInviteDTO) => {
export const useSendVerificationEmail = () => {
return useMutation({
mutationFn: async ({ email }: { email: string }) => {
const { data } = await apiRequest.post("/api/v1/signup/email/signup", {
const { data } = await apiRequest.post("/api/v3/signup/email/signup", {
email
});
@@ -133,7 +133,7 @@ export const useSendVerificationEmail = () => {
export const useVerifyEmailVerificationCode = () => {
return useMutation({
mutationFn: async ({ email, code }: { email: string; code: string }) => {
const { data } = await apiRequest.post("/api/v1/signup/email/verify", {
const { data } = await apiRequest.post("/api/v3/signup/email/verify", {
email,
code
});