Browse Source

API Endpoints for Verifications and Pending.

hkremer/rebranding
Gregory Rudolph 4 years ago
parent
commit
011dc1362a
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 3
      site-api.go

3
site-api.go

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

Loading…
Cancel
Save