account-pin-block-v2 #256

Merged
lash merged 22 commits from account-pin-block-v2 into master 2025-01-08 13:30:39 +01:00
3 changed files with 5 additions and 4 deletions
Showing only changes of commit c359d99075 - Show all commits

View File

@ -81,7 +81,8 @@ func (arp *ATRequestParser) GetInput(rq any) ([]byte, error) {
return nil, fmt.Errorf("no input found") return nil, fmt.Errorf("no input found")
} }
return []byte(parts[len(parts)-1]), nil trimmedInput := strings.TrimSpace(parts[len(parts)-1])
return []byte(trimmedInput), nil
} }
func parseQueryParams(query string) map[string]string { func parseQueryParams(query string) map[string]string {