File tree Expand file tree Collapse file tree 7 files changed +621
-483
lines changed Expand file tree Collapse file tree 7 files changed +621
-483
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ type TableClientConfig struct {
120120 EnableGovernance bool `gorm:"" json:"enable_governance"`
121121 EnforceGovernanceHeader bool `gorm:"" json:"enforce_governance_header"`
122122 AllowDirectKeys bool `gorm:"" json:"allow_direct_keys"`
123- MaxRequestBodySizeMB int `gorm:"" json:"max_request_body_size_mb"`
123+ MaxRequestBodySizeMB int `gorm:"default:100 " json:"max_request_body_size_mb"`
124124 CreatedAt time.Time `gorm:"index;not null" json:"created_at"`
125125 UpdatedAt time.Time `gorm:"index;not null" json:"updated_at"`
126126
@@ -784,9 +784,9 @@ func (vk *TableVirtualKey) AfterAutoMigrate(tx *gorm.DB) error {
784784 RETURN NEW;
785785 END;
786786 $$ LANGUAGE plpgsql;
787-
787+
788788 DROP TRIGGER IF EXISTS vk_exclusion_trigger ON governance_virtual_keys;
789- CREATE TRIGGER vk_exclusion_trigger
789+ CREATE TRIGGER vk_exclusion_trigger
790790 BEFORE INSERT OR UPDATE ON governance_virtual_keys
791791 FOR EACH ROW EXECUTE FUNCTION check_vk_exclusion();
792792 ` ).Error
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ package handlers
2+
3+ import "github.com/maximhq/bifrost/core/schemas"
4+
5+ var version string
6+ var logger schemas.Logger
7+
8+ // SetLogger sets the logger for the application.
9+ func SetLogger (l schemas.Logger ) {
10+ logger = l
11+ }
12+
13+ // SetVersion sets the version for the application.
14+ func SetVersion (v string ) {
15+ version = v
16+ }
You can’t perform that action at this time.
0 commit comments