Skip to content
Snippets Groups Projects

Hin 1232 send correct email to new author

Merged Tania Fecheta requested to merge HIN-1232-send-correct-email-to-newAuthor into develop
All threads resolved!
4 files
+ 26
6
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -64,7 +64,7 @@ class User {
return eics
}
async userIsAdmin(user) {
async isAdmin(user) {
const { UserModel } = this
const users = await UserModel.all()
const admin = users.filter(user => user.admin)