Fix form images (#771)

This commit is contained in:
rtm516 2020-06-14 01:01:58 +01:00 committed by GitHub
parent 7fcd8f2daf
commit 0d6c3309e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,14 +32,14 @@ public class FormImage {
@Getter @Getter
@Setter @Setter
private FormImageType type; private String type;
@Getter @Getter
@Setter @Setter
private String data; private String data;
public FormImage(FormImageType type, String data) { public FormImage(FormImageType type, String data) {
this.type = type; this.type = type.getName();
this.data = data; this.data = data;
} }