Can't get createdBy from api

Thanks @niwasmala .

Turns out that I found a solution too. I overwrote the findOne method in controller and did this:

"use strict";

/**
 *  member controller
 */

const {createCoreController} = require("@strapi/strapi").factories;

module.exports = createCoreController("api::member.member", ({strapi}) => ({
  async findOne(ctx) {
    const {id} = ctx.params;
    const {query} = ctx;

    const entity = await strapi.service('api::member.member').findOne(id, query);
    const sanitizedEntity = await this.sanitizeOutput(entity, ctx);

    sanitizedEntity.createdBy = {
      id: entity.createdBy.id,
      email: entity.createdBy.email
    };

    return this.transformResponse(sanitizedEntity);
  }
}));

I found that the sanitizeOutput method was the one responsible for omitting the createdBy info, so I just added the data myself.