Skip to content

Commit

Permalink
remove dead code (absmach#1503)
Browse files Browse the repository at this point in the history
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: skovacevic <stefan.kovacevic@mainflux.io>
  • Loading branch information
buraksekili authored and skovacevic committed Jan 28, 2022
1 parent 75f30a0 commit e401cdb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions things/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ const (
readRelationKey = "read"
writeRelationKey = "write"
deleteRelationKey = "delete"
adminSubject = "members:authorities#member"
)

// Service specifies an API that must be fullfiled by the domain service
Expand Down Expand Up @@ -327,7 +326,6 @@ func (ts *thingsService) ListThings(ctx context.Context, token string, pm PageMe
return Page{}, err
}
return page, err
// subject = adminSubject
}

// If the user is not admin, check 'shared' parameter from pagemetada.
Expand Down

0 comments on commit e401cdb

Please sign in to comment.