feat(integrations): align linear parity
This commit is contained in:
@@ -14,6 +14,11 @@ type IntegrationHookRepo struct {
|
||||
db *gorm.DB
|
||||
}
|
||||
|
||||
// DB returns the underlying gorm.DB for services that need adjacent models.
|
||||
func (r *IntegrationHookRepo) DB() *gorm.DB {
|
||||
return r.db
|
||||
}
|
||||
|
||||
// NewIntegrationHookRepo creates a new IntegrationHook repository.
|
||||
func NewIntegrationHookRepo(db *gorm.DB) *IntegrationHookRepo {
|
||||
return &IntegrationHookRepo{db: db}
|
||||
|
||||
Reference in New Issue
Block a user