@ -753,10 +753,10 @@ func uploadFileHandler(writer http.ResponseWriter, req *http.Request) {
if err != nil {
writer.WriteHeader(http.StatusBadRequest)
}
var pho ImgUpload
var pho []ImgUpload
//var pho []Photos
json.Unmarshal(body, &pho)
log.Info("objURL: ", pho.ObjUrl)
log.Info("objURL: ", pho[0].ObjUrl)
/*}
if len(pho) == 0 {
log.Fatal("Error: Size of Array = 0")