Skip to content

Commit

Permalink
refactor(api/service): Migrates to createPrebuiltService (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuaanlin authored May 14, 2024
2 parents 78e7543 + 0ca4bdb commit 77305ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ func (c *client) GetPrebuiltItems(ctx context.Context) ([]model.PrebuiltItem, er

func (c *client) CreatePrebuiltService(ctx context.Context, projectID string, marketplaceCode string) (*model.Service, error) {
var mutation struct {
CreatePrebuiltService model.Service `graphql:"createGenericService(projectID: $projectID, marketplaceCode: $marketplaceCode)"`
CreatePrebuiltService model.Service `graphql:"createPrebuiltService(projectID: $projectID, marketplaceCode: $marketplaceCode)"`
}

err := c.Mutate(ctx, &mutation, V{
Expand Down

0 comments on commit 77305ca

Please sign in to comment.