Skip to content

Commit

Permalink
πŸ”€ Merge pull request #2 from Fedodo/dev
Browse files Browse the repository at this point in the history
πŸ› Awaiting refreshAccessToken
  • Loading branch information
LNA-DEV authored Jun 23, 2023
2 parents 5371a84 + 7e89860 commit 9f8fed6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/APIs/auth_base_api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class AuthBaseApi {
Map<String, String>? headers,
}) async {
if (JwtDecoder.isExpired(Config.accessToken)) {
Config.refreshAccessToken();
await Config.refreshAccessToken();
}

var headersToBeSent = <String, String>{
Expand All @@ -34,7 +34,7 @@ class AuthBaseApi {
Map<String, String>? headers,
}) async {
if (JwtDecoder.isExpired(Config.accessToken)) {
Config.refreshAccessToken();
await Config.refreshAccessToken();
}

var headersToBeSent = <String, String>{
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: activitypub
description: A library for the ActivityPub standard. Created an also used by Fedodo.
version: 1.1.1
version: 1.1.2
repository: https://github.com/Fedodo/Fedodo.Pub.ActivityPub

environment:
Expand Down

0 comments on commit 9f8fed6

Please sign in to comment.