Changeset 0.9.4 (#54)
This commit is contained in:
@@ -11,6 +11,7 @@ import (
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
|
||||
"git.gobha.me/xcaliber/chat-switchboard/crypto"
|
||||
"git.gobha.me/xcaliber/chat-switchboard/database"
|
||||
"git.gobha.me/xcaliber/chat-switchboard/providers"
|
||||
)
|
||||
@@ -40,9 +41,13 @@ type updateMemberRequest struct {
|
||||
|
||||
// ── Handler ─────────────────────────────────
|
||||
|
||||
type TeamHandler struct{}
|
||||
type TeamHandler struct{
|
||||
vault *crypto.KeyResolver
|
||||
}
|
||||
|
||||
func NewTeamHandler() *TeamHandler { return &TeamHandler{} }
|
||||
func NewTeamHandler(vault *crypto.KeyResolver) *TeamHandler {
|
||||
return &TeamHandler{vault: vault}
|
||||
}
|
||||
|
||||
// ── Admin: List All Teams ───────────────────
|
||||
|
||||
|
||||
Reference in New Issue
Block a user