Skip to content

Commit

Permalink
chore: fix typo "confiuration" to "configuration"
Browse files Browse the repository at this point in the history
  • Loading branch information
Alonza0314 committed Oct 23, 2024
1 parent e4098a1 commit 6c91497
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 6c91497

Please sign in to comment.