rename space to district
This commit is contained in:
1 parent
94d56f9a8f
commit
8a2ac56844
7 files changed
+253
-9
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user