Skip to content

Commit

Permalink
Merge pull request #117 from Alonza0314/chore/typo-frontend-dto-subsc…
Browse files Browse the repository at this point in the history
…ription

chore: fix typo "confiuration" to "configuration"
  • Loading branch information
ianchen0119 authored Oct 24, 2024
2 parents e4098a1 + 6c91497 commit f3c2be7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/lib/dtos/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export const SnssaiConfigurationDTOSchema = z.object({
dnnConfigurations: z.record(DnnConfigurationDTOSchema),
});

interface SnssaiConfiurationDTO {
interface SnssaiConfigurationDTO {
sst: number;
sd: string;
isDefault: boolean;
Expand All @@ -138,7 +138,7 @@ interface SubscriptionDTO {
gpsi?: string;
auth: SubscriberAuthDTO;
subscribedUeAmbr: AmbrDTO;
SnssaiConfigurations: SnssaiConfiurationDTO[];
SnssaiConfigurations: SnssaiConfigurationDTO[];
}

interface FlowsDTO {
Expand Down Expand Up @@ -442,15 +442,15 @@ class SubscriptionMapperImpl implements SubscriptionMapper {
};
}

buildNssai(data: SnssaiConfiurationDTO): Nssai {
buildNssai(data: SnssaiConfigurationDTO): Nssai {
return {
sst: data.sst,
sd: data.sd,
};
}

buildSessionManagementSubscriptionData(
data: SnssaiConfiurationDTO,
data: SnssaiConfigurationDTO,
): SessionManagementSubscriptionData {
return {
singleNssai: {
Expand Down Expand Up @@ -596,7 +596,7 @@ export const defaultSubscriptionDTO = (): SubscriptionDTO => ({
],
});

export const defaultSnssaiConfiguration = (): SnssaiConfiurationDTO => ({
export const defaultSnssaiConfiguration = (): SnssaiConfigurationDTO => ({
sst: 1,
sd: "",
isDefault: false,
Expand Down Expand Up @@ -643,7 +643,7 @@ export const defaultUpSecurity = (): UpSecurityDTO => ({
export {
type SubscriptionDTO,
type FlowRulesDTO,
type SnssaiConfiurationDTO,
type SnssaiConfigurationDTO,
type DnnConfigurationDTO,
FlowsMapperImpl,
SubscriptionMapperImpl,
Expand Down

0 comments on commit f3c2be7

Please sign in to comment.