mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-23 15:51:24 +00:00
Fix golang clients string -> int64 unmarshale error (#217)
This commit is contained in:
@@ -24,7 +24,7 @@ func (t *QrService) Generate(request *GenerateRequest) (*GenerateResponse, error
|
||||
|
||||
type GenerateRequest struct {
|
||||
// the size (height and width) in pixels of the generated QR code. Defaults to 256
|
||||
Size int64 `json:"size"`
|
||||
Size int64 `json:"size,string"`
|
||||
// the text to encode as a QR code (URL, phone number, email, etc)
|
||||
Text string `json:"text"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user