x/mode: Path -> Name

This commit is contained in:
Blake Mizerany
2024-04-04 14:40:01 -07:00
parent 42cda9dd46
commit 7cd939690a
6 changed files with 93 additions and 93 deletions

View File

@@ -82,7 +82,7 @@ func (s *Server) handlePush(w http.ResponseWriter, r *http.Request) error {
return err
}
mp := model.ParsePath(pr.Name)
mp := model.ParseName(pr.Name)
if !mp.Complete() {
return oweb.Invalid("name", pr.Name, "must be complete")
}