diff --git a/breathecode/authenticate/admin.py b/breathecode/authenticate/admin.py index 05ef34d05..3af3a2b3f 100644 --- a/breathecode/authenticate/admin.py +++ b/breathecode/authenticate/admin.py @@ -35,6 +35,7 @@ GithubAcademyUser, GithubAcademyUserLog, GitpodUser, + GoogleWebhook, Profile, ProfileAcademy, Role, @@ -498,3 +499,10 @@ def authenticate(self, obj): return format_html( f"connect owner" ) + + +@admin.register(GoogleWebhook) +class GoogleWebhookAdmin(admin.ModelAdmin): + list_display = ("message", "status", "status_text", "created_at", "updated_at") + search_fields = ["message", "status", "status_text"] + actions = []