(ctx context.Context, eid, userID, keyID int64)
| 37 | } |
| 38 | |
| 39 | func (s *APIKeyService) GetOwnedAPIKey(ctx context.Context, eid, userID, keyID int64) (*model.APIKey, error) { |
| 40 | return model.GetAPIKeyByIDAndCreatorID(eid, userID, keyID) |
| 41 | } |
| 42 | |
| 43 | func (s *APIKeyService) DisableOwnedAPIKey(ctx context.Context, eid, userID, keyID int64) error { |
| 44 | return model.DisableAPIKeyByCreatorID(eid, userID, keyID) |
no outgoing calls
no test coverage detected