Skip to content

Commit

Permalink
chore(server): remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Nov 6, 2023
1 parent df9e959 commit a875a2d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions server/internal/adapter/gql/resolver_mutation_storytelling.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"github.com/reearth/reearth/server/internal/adapter/gql/gqlmodel"
"github.com/reearth/reearth/server/internal/usecase/interfaces"
"github.com/reearth/reearth/server/pkg/id"
"github.com/reearth/reearthx/log"
"github.com/samber/lo"
)

Expand Down Expand Up @@ -39,8 +38,6 @@ func (r *mutationResolver) UpdateStory(ctx context.Context, input gqlmodel.Updat
return nil, err
}

log.Debugfc(ctx, "inp: %v", *input.BgColor)

inp := interfaces.UpdateStoryInput{
SceneID: sceneId,
StoryID: storyId,
Expand Down
5 changes: 0 additions & 5 deletions server/internal/usecase/interactor/storytelling.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"github.com/reearth/reearth/server/pkg/scene/builder"
"github.com/reearth/reearth/server/pkg/storytelling"
"github.com/reearth/reearthx/account/accountusecase/accountrepo"
"github.com/reearth/reearthx/log"
"github.com/reearth/reearthx/rerror"
"github.com/reearth/reearthx/usecasex"
"github.com/samber/lo"
Expand Down Expand Up @@ -171,14 +170,10 @@ func (i *Storytelling) Update(ctx context.Context, inp interfaces.UpdateStoryInp
story.SetPanelPosition(*inp.PanelPosition)
}

log.Debugfc(ctx, "inp2: %v", *inp.BgColor)

if inp.BgColor != nil {
story.SetBgColor(*inp.BgColor)
}

log.Debugfc(ctx, "story.bgColor: %v", story.BgColor())

oldAlias := story.Alias()
if inp.Alias != nil && *inp.Alias != oldAlias {
if err := story.UpdateAlias(*inp.Alias); err != nil {
Expand Down

0 comments on commit a875a2d

Please sign in to comment.