diff --git a/server/db/models/model.go b/server/db/models/model.go index c041482..87b78a4 100644 --- a/server/db/models/model.go +++ b/server/db/models/model.go @@ -21,9 +21,9 @@ var ( VerificationRequest: Prefix + "verification_requests", Session: Prefix + "sessions", Env: Prefix + "env", - Webhook: Prefix + "webhook", - WebhookLog: Prefix + "webhook_log", - EmailTemplate: Prefix + "email_template", + Webhook: Prefix + "webhooks", + WebhookLog: Prefix + "webhook_logs", + EmailTemplate: Prefix + "email_templates", OTP: Prefix + "otps", } ) diff --git a/server/graph/schema.graphqls b/server/graph/schema.graphqls index d8bc668..9079ab1 100644 --- a/server/graph/schema.graphqls +++ b/server/graph/schema.graphqls @@ -79,6 +79,8 @@ type Error { type AuthResponse { message: String! + has_multi_factor_auth_enabled: Boolean + is_otp_sent: Boolean access_token: String id_token: String refresh_token: String