feat: add one pull plug and play feature
This commit is contained in:
@ -138,6 +138,11 @@ func (s *Store) UpdateAgentAlias(id, alias string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func (s *Store) DeleteAgent(id string) error {
|
||||
_, err := s.db.Exec(`DELETE FROM agents WHERE id = ?`, id)
|
||||
return err
|
||||
}
|
||||
|
||||
// ── Users ─────────────────────────────────────────────────────────────────────
|
||||
|
||||
func (s *Store) GetUserHash(username string) (string, error) {
|
||||
|
||||
Reference in New Issue
Block a user