Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Oct 21, 2023
1 parent ad2af23 commit a198b1e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/ocm/share/repository/nextcloud/nextcloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ type EfssGrantee struct {
// EfssShare is a representation of a federated share as exchanged with the EFSS. It includes
// all needed fields to represent a received federated share as well, see below.
type EfssShare struct {
ID *ocm.ShareId `json:"id" validate:"required"`
Name string `json:"name" validate:"required"`
ID *ocm.ShareId `json:"id" validate:"required"`
Name string `json:"name" validate:"required"`
Token string `json:"token"`
ResourceID struct {
OpaqueID string `json:"opaque_id"`
Expand All @@ -108,10 +108,10 @@ type EfssShare struct {
Grantee struct {
ID *userpb.UserId `json:"id" validate:"required"`
} `json:"grantee" validate:"required"`
Owner *userpb.User `json:"owner" validate:"required"`
Owner *userpb.User `json:"owner" validate:"required"`
Creator *userpb.User `json:"creator" validate:"required"`
Ctime *typespb.Timestamp `json:"ctime" validate:"required"`
Mtime *typespb.Timestamp `json:"mtime" validate:"required"`
Ctime *typespb.Timestamp `json:"ctime" validate:"required"`
Mtime *typespb.Timestamp `json:"mtime" validate:"required"`
}

// ReceivedEfssShare is a representation of a received federated share as exchanged with the EFSS.
Expand Down

0 comments on commit a198b1e

Please sign in to comment.