备份
This commit is contained in:
@@ -2,11 +2,12 @@ package api
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"net/http"
|
||||
|
||||
"github.com/labstack/echo/v4"
|
||||
"gitlab.com/texm/shokku/internal/env"
|
||||
"gitlab.com/texm/shokku/internal/server/commands"
|
||||
"gitlab.com/texm/shokku/internal/server/dto"
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func GetCommandExecutionStatus(e *env.Env, c echo.Context) error {
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
package dto
|
||||
|
||||
import (
|
||||
"github.com/texm/dokku-go"
|
||||
"time"
|
||||
|
||||
"github.com/texm/dokku-go"
|
||||
)
|
||||
|
||||
type GetAppOverviewRequest struct {
|
||||
@@ -266,7 +267,7 @@ type GetAppConfigResponse struct {
|
||||
}
|
||||
|
||||
type SetAppConfigRequest struct {
|
||||
Name string `json:"name" validate:"appName"`
|
||||
Name string `json:"name" validate:"appName"`
|
||||
Config map[string]string `json:"config"`
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ func SyncUsersToDB(e *env.Env) error {
|
||||
org := install.GetAccount().GetLogin()
|
||||
temp_members, response, err = insClient.Organizations.ListMembers(ctx, org, options)
|
||||
members = append(members, temp_members...)
|
||||
|
||||
|
||||
for response.NextPage != 0 {
|
||||
options := &gh.ListMembersOptions{
|
||||
ListOptions: gh.ListOptions{
|
||||
|
||||
Reference in New Issue
Block a user