diff options
| author | historia <[not public]> | 2026-07-07 05:50:37 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-07 05:50:37 -0400 |
| commit | 3f30fa3eec9c2e2acf9a984ccefb9529a25e688a (patch) | |
| tree | b6c146ec7f3dc2ea21dbf8ee7612c3889d93ca1a /internal/admin/api_map.go | |
| parent | a51f7a53aa2c487ebf94ba0363038574ae8bb590 (diff) | |
| download | thehouseoficarus-3f30fa3eec9c2e2acf9a984ccefb9529a25e688a.tar.gz | |
feat: add insert/remove room to context menu in admin web GUI to 'push' or 'pull' map rooms
Diffstat (limited to 'internal/admin/api_map.go')
| -rw-r--r-- | internal/admin/api_map.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/admin/api_map.go b/internal/admin/api_map.go index a7802f9..3705cde 100644 --- a/internal/admin/api_map.go +++ b/internal/admin/api_map.go @@ -442,7 +442,7 @@ func (s *AdminServer) handleNextRoomID(w http.ResponseWriter, r *http.Request) { if fromStr != "" { fromID, _ = strconv.Atoi(fromStr) } - id, _, err := nextRoomIDInDir(s.dataDir, fromID) + id, _, err := s.nextRoomID(fromID) if err != nil { writeJSON(w, map[string]any{"error": err.Error()}) return |
