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

Unable to use project templates #87

Open
jbardnz opened this issue Apr 6, 2022 · 2 comments
Open

Unable to use project templates #87

jbardnz opened this issue Apr 6, 2022 · 2 comments

Comments

@jbardnz
Copy link

jbardnz commented Apr 6, 2022

Hi there,

I am using the latest version of this library (0.10.8), however I am getting an error when trying to load a project template:

Undefined property: Asana\Client::$projecttemplates

My code is quite simple:

$client->projecttemplates->getProjectTemplate('xxxxxxxxxxx')

It doesn't look like project template support was fully added in the latest update?

@tsp-ivan-alikin
Copy link

tsp-ivan-alikin commented May 18, 2022

we've also encountered with same problem.

Fortunately, there is a workaround:

new ProjectTemplatesBase($client);

Then all announced operations are available on the ProjectTemplatesBase instance

@idsulik
Copy link

idsulik commented Jun 7, 2022

Added project_templates property to Client
#91

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

No branches or pull requests

3 participants