Skip to content
This repository was archived by the owner on Aug 21, 2025. It is now read-only.

Commit 1e30369

Browse files
committed
0.3.3 - fix bearer
1 parent 2cc94ea commit 1e30369

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@funixproductions/angular-core",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Package used in all FunixProductions Angular projects",
55
"scripts": {
66
"ng": "ng",

projects/funixproductions-requests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@funixproductions/funixproductions-requests",
3-
"version": "0.3.2",
3+
"version": "0.3.3",
44
"description": "Package used in all FunixProductions Angular projects",
55
"peerDependencies": {
66
"@angular/common": "^18.2.4",

projects/funixproductions-requests/src/lib/services/pacifista-api/web/news/services/PacifistaNewsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class PacifistaNewsService extends FunixprodHttpClient {
141141
});
142142

143143
if (bearerToken !== null) {
144-
headersToSend = headersToSend.append(FunixprodHttpClient.headerAuth, FunixprodHttpClient.bearerPrefix + ' ' + bearerToken);
144+
headersToSend = headersToSend.set(FunixprodHttpClient.headerAuth, FunixprodHttpClient.bearerPrefix + ' ' + bearerToken);
145145
}
146146

147147
return headersToSend;

0 commit comments

Comments
 (0)