Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
th0th authored and iibarbari committed Nov 19, 2024
1 parent 4065084 commit 3b8b889
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions backend/pkg/service/site/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,12 @@ func (s *service) Create(ctx context.Context, organizationID uint, params *poeti
postgres := poeticmetric.ServicePostgres(ctx, s)

site := &poeticmetric.Site{
Domain: *params.Domain,
IsPublic: *params.IsPublic,
Name: *params.Name,
SafeQueryParameters: params.SafeQueryParameters,
OrganizationID: organizationID,
Domain: *params.Domain,
GoogleSearchConsoleSiteUrl: params.GoogleSearchConsoleSiteURL,
IsPublic: *params.IsPublic,
Name: *params.Name,
SafeQueryParameters: params.SafeQueryParameters,
OrganizationID: organizationID,
}

err = postgres.Create(site).Error
Expand Down

0 comments on commit 3b8b889

Please sign in to comment.