feat: delete space
All checks were successful
Deploy / build-and-deploy (push) Successful in 2m34s

This commit is contained in:
juancwu 2026-03-14 19:11:11 -04:00
commit 6871b1f8c6
No known key found for this signature in database
5 changed files with 134 additions and 0 deletions

View file

@ -118,3 +118,8 @@ func (s *SpaceService) UpdateSpaceTimezone(spaceID, timezone string) error {
}
return s.spaceRepo.UpdateTimezone(spaceID, timezone)
}
// DeleteSpace permanently deletes a space and all its associated data.
func (s *SpaceService) DeleteSpace(spaceID string) error {
return s.spaceRepo.Delete(spaceID)
}