Skip to content

Commit a028aaf

Browse files
committed
[service] Clean up TODO comments
1 parent c9fe35e commit a028aaf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/arcgis/service/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ const arcgisPluginHooks: InitPluginHook<typeof InjectedServices> = {
9292

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

212211
try {
213-
// TODO can you validate existing services?
214212
let existingService = config.featureServices.find(service => service.url === url)
215213
if (!existingService) {
216214
config.featureServices.push(service)

0 commit comments

Comments
 (0)