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

Commit afddb79

Browse files
committed
final fix pdf
1 parent 70230dd commit afddb79

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-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.1.14",
3+
"version": "0.1.15",
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.1.14",
3+
"version": "0.1.15",
44
"description": "Package used in all FunixProductions Angular projects",
55
"peerDependencies": {
66
"@angular/common": "^17.1.0",

projects/funixproductions-requests/src/lib/services/funixproductions-api/billing/services/funixprod-billing-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ export class FunixprodBillingService extends CrudHttpClient<FunixprodBillingDto>
1717

1818
downloadInvoice(invoiceId: string) {
1919
this.http.get<Blob>(this.domain + this.path + '/' + invoiceId + '/invoice', {
20-
headers: this.getHeadersAuth()
20+
headers: this.getHeadersAuth(),
21+
responseType: 'blob' as 'json'
2122
}).subscribe({
2223
next: (data: Blob) => {
2324
const blob = new Blob([data], { type: 'application/pdf' });

0 commit comments

Comments
 (0)