[NRRPLT-8250] Added GDPR status set and get functions
- Implements the communication with the proxy - GET function that receives whether the user has accepted the GPDR terms. On the proxy side checks the GDPR table in the storage - SET function that sets the accepted status (only positive) when the user has accepted the GDPR terms. On the proxy side adds the status in the GDPR table
Showing
- src/mocks/handlers.js 10 additions, 1 deletionsrc/mocks/handlers.js
- src/mocks/mock_gdpr.json 3 additions, 0 deletionssrc/mocks/mock_gdpr.json
- src/services/proxy/__tests__/nrp-user-service.test.js 8 additions, 0 deletionssrc/services/proxy/__tests__/nrp-user-service.test.js
- src/services/proxy/data/endpoints.json 2 additions, 1 deletionsrc/services/proxy/data/endpoints.json
- src/services/proxy/nrp-user-service.js 17 additions, 1 deletionsrc/services/proxy/nrp-user-service.js
Please register or sign in to comment