dont url escape input

2023additions
Dallas Winger 2023-04-13 00:28:31 -04:00
parent 86dc52c53c
commit 4cf7177063
No known key found for this signature in database
GPG Key ID: 59CE387CBF3FCA01
1 changed files with 1 additions and 1 deletions

View File

@ -750,7 +750,7 @@ func (c *Commands) handleDocs(s *discordgo.Session, m *discordgo.MessageCreate)
askEndpoint := apiurl + spaceId + endpoint
req := models.AISearchRequest{Query: url.QueryEscape(input)}
req := models.AISearchRequest{Query: input}
j, err := json.Marshal(req)
if err != nil {
return errors.New("error marshalling input")