Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SB-RC fix : Fix the Pdf Rendering Issue and Axios error in Credential Schema #350

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions services/credentials-service/src/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { HttpModule, HttpService } from '@nestjs/axios';
import { HttpModule } from '@nestjs/axios';
import { Module } from '@nestjs/common';
import { ConfigModule, ConfigService } from '@nestjs/config';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { CredentialsModule } from './credentials/credentials.module';
import { HealthCheckService, TerminusModule } from '@nestjs/terminus';
import { TerminusModule } from '@nestjs/terminus';
import { HealthCheckUtilsService } from './credentials/utils/healthcheck.utils.service';
import { PrismaClient } from '@prisma/client';
import { RevocationList } from './revocation-list/revocation-list.helper';
Expand All @@ -21,6 +21,6 @@ import { RevocationListModule } from './revocation-list/revocation-list.module';
RevocationListModule,
],
controllers: [AppController],
providers: [HttpService, HealthCheckService, AppService, ConfigService, PrismaClient, HealthCheckUtilsService, RevocationList, RevocationListImpl, RevocationListService],
providers: [ AppService, ConfigService, PrismaClient, HealthCheckUtilsService, RevocationList, RevocationListImpl, RevocationListService],
})
export class AppModule {}
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import { Module } from '@nestjs/common';
import { CredentialsService } from './credentials.service';
import { CredentialsController } from './credentials.controller';
import { HttpModule, HttpService } from '@nestjs/axios';
import { HttpModule } from '@nestjs/axios';
import { IdentityUtilsService } from './utils/identity.utils.service';
import { RenderingUtilsService } from './utils/rendering.utils.service';
import { SchemaUtilsSerivce } from './utils/schema.utils.service';
import { PrismaClient } from '@prisma/client';

@Module({
imports: [HttpModule],
providers: [HttpService, CredentialsService, PrismaClient, IdentityUtilsService, RenderingUtilsService, SchemaUtilsSerivce],
providers: [CredentialsService, PrismaClient, IdentityUtilsService, RenderingUtilsService, SchemaUtilsSerivce],
controllers: [CredentialsController],
exports: [IdentityUtilsService]
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import {
} from '@nestjs/common';
import { W3CCredential } from 'vc.types';
import { JwtCredentialSubject } from 'src/app.interface';
import * as wkhtmltopdf from 'wkhtmltopdf';
import wkhtmltopdf from 'wkhtmltopdf';
import { compile } from 'handlebars';
import * as QRCode from 'qrcode';
import QRCode from 'qrcode';
import JSZip from 'jszip';

@Injectable()
Expand Down
Loading