Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Adicionado suporte parcial a UNILAB - CE #34

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 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
4 changes: 3 additions & 1 deletion src/account/sigaa-account-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { Session } from '@session/sigaa-session';
import { Account } from './sigaa-account';
import { SigaaAccountIFSC } from './sigaa-account-ifsc';
import { SigaaAccountUFPB } from './sigaa-account-ufpb';
import { SigaaAccountUNILAB } from './sigaa-account-unilab';
import { SigaaAccountUNB } from './sigaa-account-unb';

/**
Expand Down Expand Up @@ -40,7 +41,8 @@ export class SigaaAccountFactory implements AccountFactory {
const SigaaAccountInstitution = {
IFSC: SigaaAccountIFSC,
UFPB: SigaaAccountUFPB,
UNB: SigaaAccountUNB
UNB: SigaaAccountUNB,
UNILAB: SigaaAccountUNILAB
};
const institution = this.session.institution;
return new SigaaAccountInstitution[institution](
Expand Down
Loading