Skip to content

Commit

Permalink
[server] Fix query syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rick Saccoccia committed Nov 27, 2024
1 parent ec07047 commit fdaa660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/arcgis/service/src/FeatureQuerier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class FeatureQuerier {
if (this._config.eventIdField == null) {
queryUrl.searchParams.set('where', `${this._config.observationIdField} LIKE '${observationId}${this._config.idSeparator}%'`);
} else {
queryUrl.searchParams.set('where', `${this._config.observationIdField} = ${observationId}`);
queryUrl.searchParams.set('where', `${this._config.observationIdField} = '${observationId}'`);
}
queryUrl.searchParams.set('outFields', this.outFields(fields))
queryUrl.searchParams.set('returnGeometry', geometry === false ? 'false' : 'true')
Expand Down

0 comments on commit fdaa660

Please sign in to comment.