Skip to content

Commit

Permalink
[service] Clean up TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
newmanw committed Nov 14, 2024
1 parent c9fe35e commit a028aaf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/arcgis/service/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ const arcgisPluginHooks: InitPluginHook<typeof InjectedServices> = {

routes.get('/oauth/authenticate', async (req, res) => {
const code = req.query.code as string
// TODO is clientId here in req or response
let state: { url: string, clientId: string }
try {
const { url, clientId } = JSON.parse(req.query.state as string)
Expand Down Expand Up @@ -210,7 +209,6 @@ const arcgisPluginHooks: InitPluginHook<typeof InjectedServices> = {
}

try {
// TODO can you validate existing services?
let existingService = config.featureServices.find(service => service.url === url)
if (!existingService) {
config.featureServices.push(service)
Expand Down

0 comments on commit a028aaf

Please sign in to comment.