mirror of
https://github.com/wassname/talk.git
synced 2026-07-14 11:18:50 +08:00
Unprotect User.created_at
This commit is contained in:
@@ -22,13 +22,6 @@ const User = {
|
||||
}
|
||||
|
||||
},
|
||||
created_at({roles, created_at}, _, {user}) {
|
||||
if (user && user.can(SEARCH_OTHER_USERS)) {
|
||||
return created_at;
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
comments({id}, {query}, {loaders: {Comments}, user}) {
|
||||
|
||||
// If the user is not an admin, only return comment list for the owner of
|
||||
|
||||
Reference in New Issue
Block a user