(ctx context.Context, eid, userID int64)
| 33 | } |
| 34 | |
| 35 | func (s *APIKeyService) ListOwnedAPIKeys(ctx context.Context, eid, userID int64) ([]model.APIKey, error) { |
| 36 | return model.GetAPIKeysByEidAndCreatorID(eid, userID) |
| 37 | } |
| 38 | |
| 39 | func (s *APIKeyService) GetOwnedAPIKey(ctx context.Context, eid, userID, keyID int64) (*model.APIKey, error) { |
| 40 | return model.GetAPIKeyByIDAndCreatorID(eid, userID, keyID) |
no outgoing calls
no test coverage detected