gbif / gbif-web

Apache License 2.0
6 stars 9 forks source link

Annotations - the create rule button does not save the rulesetId and the projectId #489

Closed jhnwllr closed 4 months ago

jhnwllr commented 4 months ago

It appears as though the rulesetId is saved as a quoted string which might be what is causing the problem.

POST /v1/occurrence/experimental/annotation/rule

{taxonKey: 2435098, projectId: 1, rulesetId: "1",…}
annotation
: 
"NATIVE"
geometry
: 
"POLYGON((-73.84014634854921 39.638959489742426,-74.42359275036515 38.84746306376228,-73.7089846243402 38.44945346672159,-73.19338119331609 39.132401801959816,-73.84014634854921 39.638959489742426))"
projectId
: 
1
rulesetId
: 
"1"
taxonKey
: 
2435098