Initial Commit: Duty Schedule and Attendance Logbook
This commit is contained in:
@@ -61,10 +61,11 @@ class AdminUserController {
|
||||
required String userId,
|
||||
required String fullName,
|
||||
required String role,
|
||||
String religion = 'catholic',
|
||||
}) async {
|
||||
await _client
|
||||
.from('profiles')
|
||||
.update({'full_name': fullName, 'role': role})
|
||||
.update({'full_name': fullName, 'role': role, 'religion': religion})
|
||||
.eq('id', userId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user