|
|
|
@ -169,6 +169,8 @@ func getVerifications(w http.ResponseWriter, r *http.Request) {
@@ -169,6 +169,8 @@ func getVerifications(w http.ResponseWriter, r *http.Request) {
|
|
|
|
|
ver.UserID = strings.Replace(info[0], "verifications/", "", -1) |
|
|
|
|
ver.Username = info[1] |
|
|
|
|
ver.Photo = file |
|
|
|
|
fileStat, _ := os.Stat(file) |
|
|
|
|
ver.Closed = fileStat.ModTime() |
|
|
|
|
v = append(v, ver) |
|
|
|
|
} |
|
|
|
|
verifications, err := json.Marshal(v) |
|
|
|
|