Make strict mode a param (#1054)

So, a wrapping config (like cloud) can skip the strict mode check.
This commit is contained in:
Raja Subramanian
2022-09-29 13:07:32 +05:30
committed by GitHub
parent c93df27329
commit 33f5dbc501
7 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func TestWebhooks(t *testing.T) {
}
func setupServerWithWebhook() (server *service.LivekitServer, testServer *webhookTestServer, finishFunc func(), err error) {
conf, err := config.NewConfig("", nil)
conf, err := config.NewConfig("", true, nil)
if err != nil {
panic(fmt.Sprintf("could not create config: %v", err))
}