Skip to content
Snippets Groups Projects
Commit a6c482d3 authored by Nathanael Santoso's avatar Nathanael Santoso
Browse files

Merge branch 'fix/s2-sb45-Backend-Manajemen-Course' into 'staging'

fix(course): removed require on ids

See merge request !41
parents d1639d25 82a2ddb8
Branches
Tags
3 merge requests!47Final Updates,!42[Feat] [Release!] [#1] Project Release Commit,!41fix(course): removed require on ids
Pipeline #57432 passed with stage
in 1 minute and 29 seconds
......@@ -22,7 +22,7 @@ type UpdateFacultyRequestPayload struct {
UpdateFacultyToken string
// Faculty ID, Provided by Query
ID uuid.UUID `json:"-" validate:"required"`
ID uuid.UUID `json:"-"`
// Faculty Name
Name string `json:"name" validate:"required"`
......
......@@ -29,7 +29,7 @@ type UpdateMajorRequestPayload struct {
UpdateMajorToken string
// Major ID, provided by query
ID uuid.UUID `json:"-" validate:"required"`
ID uuid.UUID `json:"-"`
// Major Name
Name string `json:"name" validate:"required"`
......
......@@ -62,7 +62,7 @@ type UpdateCourseRequestPayload struct {
UpdateCourseToken string
// Course ID, Provided by query
ID string `json:"-" validate:"required"`
ID string `json:"-"`
// Course Name
Name string `json:"name" validate:"required"`
......
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