You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/02/24 02:42:09 UTC
[incubator-devlake] branch main updated: fix: revert webhook migrator changes (#4497)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 975aea1e5 fix: revert webhook migrator changes (#4497)
975aea1e5 is described below
commit 975aea1e582f949e3d49887bc82b9f123a78dab7
Author: Likyh <ya...@meri.co>
AuthorDate: Fri Feb 24 10:42:04 2023 +0800
fix: revert webhook migrator changes (#4497)
---
backend/plugins/webhook/impl/impl.go | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/backend/plugins/webhook/impl/impl.go b/backend/plugins/webhook/impl/impl.go
index 9d9201dd7..37585f93f 100644
--- a/backend/plugins/webhook/impl/impl.go
+++ b/backend/plugins/webhook/impl/impl.go
@@ -23,6 +23,7 @@ import (
"github.com/apache/incubator-devlake/core/errors"
"github.com/apache/incubator-devlake/core/plugin"
"github.com/apache/incubator-devlake/plugins/webhook/api"
+ "github.com/apache/incubator-devlake/plugins/webhook/models/migrationscripts"
)
// make sure interface is implemented
@@ -57,7 +58,7 @@ func (p Webhook) RootPkgPath() string {
}
func (p Webhook) MigrationScripts() []plugin.MigrationScript {
- return nil
+ return migrationscripts.All()
}
func (p Webhook) ApiResources() map[string]map[string]plugin.ApiResourceHandler {