mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2025-12-23 22:18:36 -05:00
Fixes bug preventing photo uploads (#324)
Primary bug was that requests to POST /v2/observation_photos were using the obs serial ID instead of the obs UUID. Another major problem was that uploads always quit before the last observation when there were multiple observations to upload, which I address by changing the way we set `allObsToUpload` in `useLocalObservations`.
This commit is contained in:
@@ -67,7 +67,7 @@ module.exports = {
|
||||
"space-in-parens": [2, "always"],
|
||||
"module-resolver/use-alias": 2,
|
||||
// At least before we start making production builds
|
||||
"no-console": ["error", { allow: ["warn", "error"] }],
|
||||
"no-console": 0,
|
||||
"no-restricted-globals": 0,
|
||||
"no-param-reassign": 0,
|
||||
"no-var": 1,
|
||||
|
||||
Reference in New Issue
Block a user