fix: org improvements (#385)

* fix: verify newly added admins

* allow adding of admins for paid customers

* feat: permit admins to see all courses
This commit is contained in:
Rotimi Best
2024-07-08 06:45:26 +01:00
committed by GitHub
parent ae2fe71353
commit b60b45ed26
3 changed files with 11 additions and 9 deletions
@@ -161,7 +161,8 @@
.insert({
organization_id: orgData.id,
profile_id: $profile.id,
role_id: 1
role_id: 1,
verified: true
})
.select();
console.log('Create organisation member', data);