~louis77/gemini.tunerapp.org

856a5a8ead212506df0d2adb253d471c3bb831f4 — Louis Brauer 11 months ago 907be29
Add colon/space to Input prompts
1 files changed, 2 insertions(+), 2 deletions(-)

M handlers/handlers.go
M handlers/handlers.go => handlers/handlers.go +2 -2
@@ 78,7 78,7 @@ func HandleSearch(stations []goradios.Station) gig.HandlerFunc {
		log.Printf("Executing Search: %s\n", query)

		if len(query) == 0 {
			return c.NoContent(gig.StatusInput, "Enter search query")
			return c.NoContent(gig.StatusInput, "Enter search query: ")
		}

		cStations := []goradios.Station{}


@@ 239,7 239,7 @@ func HandleStationPin(stations []goradios.Station) gig.HandlerFunc {
		log.Printf("Pin comment: %s\n", query)

		if len(query) == 0 {
			return c.NoContent(gig.StatusInput, "Enter comment (i.e. 'Love it!')")
			return c.NoContent(gig.StatusInput, "Enter comment (i.e. 'Love it!'): ")
		}

		station, err := findStation(stations, c.Param("id"))