rename space to district

This commit is contained in:
Anya Tokugawa committed 2026-07-04 23:19:18 +09:00
1 parent 94d56f9a8f
commit 8a2ac56844
7 files changed
+253 -9

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
package server
import "pageswiki/internal/store"
func (s *Server) currentDistrict() *store.District {
sp, err :=
s.store.GetDefaultDistrict()
if err != nil {
return &store.District{
ID: 1,
Name: "default",
Title: "Default District",
Enabled: true,
}
}
return sp
}