Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Make created_by field of service non-optional #131

Merged
merged 1 commit into from
Sep 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internals/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ type Service struct {
ServiceID string `json:"service_id"`
Repo *Repo `json:"repo"`
Description string `json:"description"`
CreatedBy *uuid.UUID `json:"created_by,omitempty"`
CreatedBy uuid.UUID `json:"created_by"`
CreatedAt time.Time `json:"created_at"`
Credential *Credential `json:"credential"`
}
Expand Down