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

Commit 0278f8f

Browse files
committed
0.3.5 - Rollback version angular
1 parent d617db0 commit 0278f8f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
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.5",
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.5",
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: 2 additions & 2 deletions
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;
@@ -152,7 +152,7 @@ export class PacifistaNewsService extends FunixprodHttpClient {
152152
const bearerToken: string | null = localStorage.getItem(FunixprodHttpClient.accessTokenLocalStorageName);
153153

154154
if (bearerToken !== null) {
155-
headersToSend = headersToSend.append(FunixprodHttpClient.headerAuth, FunixprodHttpClient.bearerPrefix + ' ' + bearerToken);
155+
headersToSend = headersToSend.set(FunixprodHttpClient.headerAuth, FunixprodHttpClient.bearerPrefix + ' ' + bearerToken);
156156
}
157157

158158
return headersToSend

0 commit comments

Comments
 (0)