Skip to content

Commit 098a5bb

Browse files
committed
fix: update refreshToken header key in TokenEntity from 'refresh-token' to 'authorization-refresh'
1 parent e97ab26 commit 098a5bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/domain/entities/token_entity.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TokenEntity extends Equatable {
1313
static TokenEntity fromHeaders(Headers headers) {
1414
return TokenEntity(
1515
accessToken: headers.value('authorization')!,
16-
refreshToken: headers.value('refresh-token')!,
16+
refreshToken: headers.value('authorization-refresh')!,
1717
);
1818
}
1919

0 commit comments

Comments
 (0)