Profile delegates to the transport-agnostic service layer. Permissions: authenticated user.
(ctx context.Context)
| 11 | // Profile delegates to the transport-agnostic service layer. |
| 12 | // Permissions: authenticated user. |
| 13 | func (g *graphqlProvider) Profile(ctx context.Context) (*model.User, error) { |
| 14 | gc, _ := utils.GinContextFromContext(ctx) |
| 15 | res, _, err := g.ServiceProvider.Profile(ctx, service.MetaFromGin(gc)) |
| 16 | return res, err |
| 17 | } |
nothing calls this directly
no test coverage detected