mirror of
https://github.com/wassname/talk.git
synced 2026-07-21 12:51:03 +08:00
[next] Comment Moderation Actions (#2068)
* fix: renamed snake case to camel case * fix: changed case for mutators * fix: renamed all snake case to camel case for db * feat: added support for comment revisions + split comment actions * fix: updated tests * feat: implemented CommentModerationAction * fix: fixed case issues * feat: enabled WeakMap for wordList processsing * chore: npm audit
This commit is contained in:
@@ -71,7 +71,7 @@ export default class FacebookStrategy extends OAuth2Strategy<
|
||||
displayName,
|
||||
role: GQLUSER_ROLE.COMMENTER,
|
||||
email,
|
||||
email_verified: emailVerified,
|
||||
emailVerified,
|
||||
avatar,
|
||||
profiles: [profile],
|
||||
});
|
||||
|
||||
@@ -84,7 +84,7 @@ export default class GoogleStrategy extends OAuth2Strategy<
|
||||
displayName,
|
||||
role: GQLUSER_ROLE.COMMENTER,
|
||||
email,
|
||||
email_verified: emailVerified,
|
||||
emailVerified,
|
||||
avatar,
|
||||
profiles: [profile],
|
||||
});
|
||||
|
||||
@@ -185,7 +185,7 @@ export async function findOrCreateOIDCUser(
|
||||
displayName,
|
||||
role: GQLUSER_ROLE.COMMENTER,
|
||||
email,
|
||||
email_verified,
|
||||
emailVerified: email_verified,
|
||||
avatar: picture,
|
||||
profiles: [profile],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user