Skip to content

Commit 1f4bc99

Browse files
committed
Fix typos in module and function names
Signed-off-by: Jannik Hollenbach <jannik.hollenbach@owasp.org>
1 parent bb0db6b commit 1f4bc99

11 files changed

Lines changed: 13 additions & 13 deletions

data/static/codefixes/adminSectionChallenge_1_correct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ const routes: Routes = [
168168
},
169169
{
170170
path: 'web3-sandbox',
171-
loadChildren: async () => await loadWeb3SandboxtModule()
171+
loadChildren: async () => await loadWeb3SandboxModule()
172172
},
173173
{
174174
path: 'bee-haven',

data/static/codefixes/adminSectionChallenge_2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const routes: Routes = [
165165
},
166166
{
167167
path: 'web3-sandbox',
168-
loadChildren: async () => await loadWeb3SandboxtModule()
168+
loadChildren: async () => await loadWeb3SandboxModule()
169169
},
170170
{
171171
path: 'bee-haven',

data/static/codefixes/adminSectionChallenge_3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const routes: Routes = [
165165
},
166166
{
167167
path: 'web3-sandbox',
168-
loadChildren: async () => await loadWeb3SandboxtModule()
168+
loadChildren: async () => await loadWeb3SandboxModule()
169169
},
170170
{
171171
path: 'bee-haven',

data/static/codefixes/adminSectionChallenge_4.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const routes: Routes = [
165165
},
166166
{
167167
path: 'web3-sandbox',
168-
loadChildren: async () => await loadWeb3SandboxtModule()
168+
loadChildren: async () => await loadWeb3SandboxModule()
169169
},
170170
{
171171
path: 'bee-haven',

data/static/codefixes/scoreBoardChallenge_1_correct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const routes: Routes = [
165165
},
166166
{
167167
path: 'web3-sandbox',
168-
loadChildren: async () => await loadWeb3SandboxtModule()
168+
loadChildren: async () => await loadWeb3SandboxModule()
169169
},
170170
{
171171
path: 'bee-haven',

data/static/codefixes/scoreBoardChallenge_2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const routes: Routes = [
165165
},
166166
{
167167
path: 'web3-sandbox',
168-
loadChildren: async () => await loadWeb3SandboxtModule()
168+
loadChildren: async () => await loadWeb3SandboxModule()
169169
},
170170
{
171171
path: 'bee-haven',

data/static/codefixes/scoreBoardChallenge_3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const routes: Routes = [
161161
},
162162
{
163163
path: 'web3-sandbox',
164-
loadChildren: async () => await loadWeb3SandboxtModule()
164+
loadChildren: async () => await loadWeb3SandboxModule()
165165
},
166166
{
167167
path: 'bee-haven',

data/static/codefixes/web3SandboxChallenge_2.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const routes: Routes = [
166166
{
167167
path: 'web3-sandbox',
168168
canActivate: [LoginGuard],
169-
loadChildren: async () => await loadWeb3SandboxtModule()
169+
loadChildren: async () => await loadWeb3SandboxModule()
170170
},
171171
{
172172
path: 'bee-haven',

data/static/codefixes/web3SandboxChallenge_3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ const routes: Routes = [
166166
{
167167
path: 'web3-sandbox',
168168
canActivate: [AdminGuard],
169-
loadChildren: async () => await loadWeb3SandboxtModule()
169+
loadChildren: async () => await loadWeb3SandboxModule()
170170
},
171171
{
172172
path: 'bee-haven',

frontend/src/app/app.routing.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ const loadWeb3WalletModule = async () => {
5252
return module.WalletWeb3Module
5353
}
5454

55-
const loadWeb3SandboxtModule = async () => {
55+
const loadWeb3SandboxModule = async () => {
5656
const module = await import('./web3-sandbox/web3-sandbox.module')
57-
return module.FaucetModule
57+
return module.Web3SandboxModule
5858
}
5959
// vuln-code-snippet start adminSectionChallenge scoreBoardChallenge web3SandboxChallenge
6060
const routes: Routes = [
@@ -224,7 +224,7 @@ const routes: Routes = [
224224
},
225225
{ // vuln-code-snippet neutral-line web3SandboxChallenge
226226
path: 'web3-sandbox', // vuln-code-snippet vuln-line web3SandboxChallenge
227-
loadChildren: async () => await loadWeb3SandboxtModule() // vuln-code-snippet neutral-line web3SandboxChallenge
227+
loadChildren: async () => await loadWeb3SandboxModule() // vuln-code-snippet neutral-line web3SandboxChallenge
228228
}, // vuln-code-snippet neutral-line web3SandboxChallenge
229229
{
230230
path: 'bee-haven',

0 commit comments

Comments
 (0)