Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
aanpassen create_admin
Browse files Browse the repository at this point in the history
  • Loading branch information
ALBERICLOOS committed Feb 24, 2024
1 parent 229b861 commit 244c0fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/db/interface/AdminDAO.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ def get_all_admins(self) -> list[AdminDataclass]:
raise NotImplementedError()

@abstractmethod
def give_admin(self, user_id: int):
def create_admin(self, admin: AdminDataclass):
"""
Geeft de gegeven user admin rechten.
Maakt een nieuwe admin aan.
:param user_id: De id van de user die admin moet worden.
:param admin: De AdminDataclass van de nieuwe admin.
"""
raise NotImplementedError()

0 comments on commit 244c0fa

Please sign in to comment.