fix(students): renombrar BranchName a Branch

parent a00701f3
...@@ -17,7 +17,7 @@ type Student struct { ...@@ -17,7 +17,7 @@ type Student struct {
GenreID *int `bson:"genre_id"` GenreID *int `bson:"genre_id"`
Genre *string `bson:"genre"` Genre *string `bson:"genre"`
BranchID *int `bson:"branch_id"` BranchID *int `bson:"branch_id"`
BranchName *string `bson:"branch"` Branch *string `bson:"branch"`
LevelID *int `bson:"level_id"` LevelID *int `bson:"level_id"`
Level *string `bson:"level"` Level *string `bson:"level"`
GradeID *int `bson:"grade_id"` GradeID *int `bson:"grade_id"`
......
...@@ -69,7 +69,7 @@ func (f *QueryReader) FetchAll(ctx context.Context) ([]appsync.SyncRow, error) { ...@@ -69,7 +69,7 @@ func (f *QueryReader) FetchAll(ctx context.Context) ([]appsync.SyncRow, error) {
GenreID: genreID, GenreID: genreID,
Genre: genre, Genre: genre,
BranchID: branchID, BranchID: branchID,
BranchName: branchName, Branch: branchName,
LevelID: levelID, LevelID: levelID,
Level: levelName, Level: levelName,
GradeID: gradeID, GradeID: gradeID,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment