Skip to content

Commit

Permalink
fix linter2
Browse files Browse the repository at this point in the history
  • Loading branch information
gmgigi96 committed Sep 25, 2023
1 parent 7a68c5c commit 629a868
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocs/conversions/role.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (r *Role) OCSPermissions() Permissions {
// S = Shared
// R = Shareable
// M = Mounted
// Z = Deniable (NEW)
// Z = Deniable (NEW).
func (r *Role) WebDAVPermissions(isDir, isShared, isMountpoint, isPublic bool) string {
var b strings.Builder
if !isPublic && isShared {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ func (h *Handler) listPublicShares(r *http.Request, filters []*link.ListPublicSh
}

return ocsDataPayload, nil, nil

}

func (h *Handler) isPublicShare(r *http.Request, oid string) bool {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,6 @@ func (h *Handler) listSharesWithMe(w http.ResponseWriter, r *http.Request) {
h.logProblems(status, err, "could not stat, skipping", log)
return
}

}

data, err := conversions.CS3Share2ShareData(r.Context(), rs.Share)
Expand Down

0 comments on commit 629a868

Please sign in to comment.