asgardeo-samples / asgardeo-enterprise-ciam-sample

An enterprise use case sample that captures the overall CIAM story that utilize Asgardeo and Choreo.
Apache License 2.0
0 stars 2 forks source link

Change ES5 syntax to ES6 in the Webapps #3

Closed ashendes closed 1 year ago

ashendes commented 1 year ago

Description: There is a mix of ES5 and ES6 syntax being used in the apps [1], [2]. All instances of ES5 syntax need to be converted to ES6.

[1] https://github.com/asgardeo-samples/asgardeo-enterprise-ciam-sample/blob/2b7d6ce25108080d4bfd3f48b4e4699f0c5b568a/src/apps/kfone-website/src/api/index.js#L83 [2] https://github.com/asgardeo-samples/asgardeo-enterprise-ciam-sample/blob/2b7d6ce25108080d4bfd3f48b4e4699f0c5b568a/src/apps/kfone-website/src/api/index.js#L70