Revolution #1
1 changed files with 3 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ class ApiController extends GetxController {
|
|||
receiveTimeout: 3000.milliseconds,
|
||||
receiveDataWhenStatusError: true,
|
||||
)),
|
||||
interceptors: [
|
||||
ApiKeyAuthInterceptor(),
|
||||
],
|
||||
);
|
||||
_apiClientBase!.setApiKey("access-token", token);
|
||||
return _apiClientBase!;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue