Skip to content

Commit

Permalink
Merge pull request #430 from gnoossk/fix-save
Browse files Browse the repository at this point in the history
Fix save file location
  • Loading branch information
gnoossk authored Nov 12, 2024
2 parents 4129bbc + 6612407 commit e9a6ed3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ Teletutors data are saved in the hard disk automatically after any command that

### Editing the data file

Teletutors data are saved automatically as a JSON file `[JAR file location]/data/teletutor.json`. Advanced users are welcome to update data directly by editing that data file.
Teletutors data are saved automatically as a JSON file `[JAR file location]/data/teletutors.json`. Advanced users are welcome to update data directly by editing that data file.

<box type="warning" seamless>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/seedu/address/model/UserPrefs.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
public class UserPrefs implements ReadOnlyUserPrefs {

private GuiSettings guiSettings = new GuiSettings();
private Path addressBookFilePath = Paths.get("data" , "teletutor.json");
private Path addressBookFilePath = Paths.get("data" , "teletutors.json");

/**
* Creates a {@code UserPrefs} with default values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* An Immutable AddressBook that is serializable to JSON format.
*/

@JsonRootName(value = "teletutor")
@JsonRootName(value = "teletutors")
public class JsonSerializableStudentAddressBook {
public static final String MESSAGE_DUPLICATE_STUDENT = "Students list contains duplicate student(s).";

Expand Down

0 comments on commit e9a6ed3

Please sign in to comment.