Skip to content

Commit

Permalink
fix: change variable
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed Jun 25, 2024
1 parent ee88553 commit b2856fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Head.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/>
<div class="text-center md:text-right">
<h1 class="text-xl font-bold">
ตารางเรียน {information.Semester}/{information.year}
Schedule of {information.semester}/{information.year}
</h1>
<p class="text-sm">{information.studentID} {information.name}</p>
<p class="text-sm">
Expand Down
4 changes: 2 additions & 2 deletions src/utils/StudentScraping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface InformationI {
faculty: string
department: string
major: string
Semester: string
semester: string
year: string
studentID: string
name: string
Expand All @@ -44,7 +44,7 @@ export default class StudentScraping {
major: this.removeNewlinesAndSpaces(
studyTableRows[10]?.childNodes[1]?.childNodes[3]?.textContent
),
Semester: this.removeNewlinesAndSpaces(
semester: this.removeNewlinesAndSpaces(
studyTableRows[12]?.childNodes[1]?.childNodes[1]?.textContent
),
year: this.removeNewlinesAndSpaces(
Expand Down

0 comments on commit b2856fd

Please sign in to comment.