Skip to content

Commit da984d2

Browse files
fixing wrong endpoint for search (#131)
1 parent 3232cd3 commit da984d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/search/model_input.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func RenderInput(m Model) (string, string) {
7474
endpoint = "move"
7575
case 2:
7676
msg = "Enter a Pokémon name:"
77-
endpoint = "ability"
77+
endpoint = "pokemon"
7878
default:
7979
msg = "Enter your search query:"
8080
}

0 commit comments

Comments
 (0)