Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue with domains when publishing a site. #6

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

jbardnz
Copy link

@jbardnz jbardnz commented Jun 5, 2019

Fixed issue with domains being passed in the wrong format.

jbardnz added 7 commits June 5, 2019 23:21
Fixed issue with domains being passed in the wrong format.
Fix issue with body response not being parsed correctly.
Allows you to create an item, or update it if it already exists.
Merge field automatically.
@@ -204,6 +210,39 @@ public function findOrCreateItemByName(string $collectionId, array $fields)
$this->cacheSet($cacheKey, $items);
return $newItem;
}

public function createOrUpdateItemByName(string $collectionId, array $fields)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jbardnz and thanks for the PR. Domains fix looks good, but createOrUpdateItemByName is a custom logic of your application. Could you please, take it out, so we can merge the rest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants