VerifyOtp is the resolver for the verify_otp field.
(ctx context.Context, params model.VerifyOTPRequest)
| 74 | |
| 75 | // VerifyOtp is the resolver for the verify_otp field. |
| 76 | func (r *mutationResolver) VerifyOtp(ctx context.Context, params model.VerifyOTPRequest) (*model.AuthResponse, error) { |
| 77 | return r.GraphQLProvider.VerifyOTP(ctx, ¶ms) |
| 78 | } |
| 79 | |
| 80 | // ResendOtp is the resolver for the resend_otp field. |
| 81 | func (r *mutationResolver) ResendOtp(ctx context.Context, params model.ResendOTPRequest) (*model.Response, error) { |