fix(students): renombrar BranchName a Branch

parent a00701f3
......@@ -17,7 +17,7 @@ type Student struct {
GenreID *int `bson:"genre_id"`
Genre *string `bson:"genre"`
BranchID *int `bson:"branch_id"`
BranchName *string `bson:"branch"`
Branch *string `bson:"branch"`
LevelID *int `bson:"level_id"`
Level *string `bson:"level"`
GradeID *int `bson:"grade_id"`
......
......@@ -69,7 +69,7 @@ func (f *QueryReader) FetchAll(ctx context.Context) ([]appsync.SyncRow, error) {
GenreID: genreID,
Genre: genre,
BranchID: branchID,
BranchName: branchName,
Branch: branchName,
LevelID: levelID,
Level: levelName,
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