VerifyEmail delegates to the transport-agnostic service layer. Permissions: none.
(ctx context.Context, params *model.VerifyEmailRequest)
| 11 | // VerifyEmail delegates to the transport-agnostic service layer. |
| 12 | // Permissions: none. |
| 13 | func (g *graphqlProvider) VerifyEmail(ctx context.Context, params *model.VerifyEmailRequest) (*model.AuthResponse, error) { |
| 14 | gc, _ := utils.GinContextFromContext(ctx) |
| 15 | res, side, err := g.ServiceProvider.VerifyEmail(ctx, service.MetaFromGin(gc), params) |
| 16 | if err != nil { |
| 17 | return nil, err |
| 18 | } |
| 19 | service.ApplyToGin(gc, side) |
| 20 | return res, nil |
| 21 | } |
nothing calls this directly
no test coverage detected