API Endpoints for Verifications and Pending.
This commit is contained in:
@ -151,7 +151,7 @@ func getVerifications(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
var files []string
|
var files []string
|
||||||
root := "./verifications"
|
root := "./verifications/"
|
||||||
err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
|
err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
|
||||||
files = append(files, path)
|
files = append(files, path)
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user