Open qunabu opened 3 years ago
add this package to admin and move types and api calls from admin here
npm i @escolalms/connector
admin
because this is based on umi-request interceptor should inject api bearer token https://github.com/EscolaLMS/Admin/blob/master/src/app.tsx#L165
umi-request
Admin panel should be using sdk for communication with API
add this package to admin and move types and api calls from admin here
npm i @escolalms/connector
https://www.npmjs.com/package/@escolalms/connectoradmin
because this is based on
umi-request
interceptor should inject api bearer token https://github.com/EscolaLMS/Admin/blob/master/src/app.tsx#L165