|
|
@ -162,6 +162,9 @@ func getVerifications(w http.ResponseWriter, r *http.Request) { |
|
|
|
var v []Verification |
|
|
|
var v []Verification |
|
|
|
for _, file := range files { |
|
|
|
for _, file := range files { |
|
|
|
info := strings.Split(file, "-") |
|
|
|
info := strings.Split(file, "-") |
|
|
|
|
|
|
|
if len(info) < 3 { |
|
|
|
|
|
|
|
continue |
|
|
|
|
|
|
|
} |
|
|
|
var ver Verification |
|
|
|
var ver Verification |
|
|
|
ver.UserID = info[0] |
|
|
|
ver.UserID = info[0] |
|
|
|
ver.Username = info[1] |
|
|
|
ver.Username = info[1] |
|
|
|