diff --git a/ghost/members-api/lib/repositories/member.js b/ghost/members-api/lib/repositories/member.js index c97e02245d..42be5781b7 100644 --- a/ghost/members-api/lib/repositories/member.js +++ b/ghost/members-api/lib/repositories/member.js @@ -228,8 +228,10 @@ module.exports = class MemberRepository { source = 'import'; } else if (context.internal) { source = 'system'; - } else if (context.user || context.importer) { + } else if (context.user) { source = 'admin'; + } else if (context.importer) { + source = 'importer'; } else if (context.api_key) { source = 'api'; } else {