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

fetching resources #49

Merged
merged 3 commits into from
Jul 18, 2024
Merged

fetching resources #49

merged 3 commits into from
Jul 18, 2024

Conversation

Vicba
Copy link
Collaborator

@Vicba Vicba commented Jul 18, 2024

Fixes #47

However got an access denied error when testing with loama.
Using this code as a file in the demo apps it works

@Vicba Vicba self-assigned this Jul 18, 2024
controller/src/types.ts Outdated Show resolved Hide resolved
controller/src/pod.ts Outdated Show resolved Hide resolved
controller/src/pod.ts Show resolved Hide resolved
controller/src/pod.ts Outdated Show resolved Hide resolved
controller/src/pod.ts Outdated Show resolved Hide resolved
Comment on lines 35 to 43
console.log("fetchedUserProfile", fetchedUserProfile);

const appointments = await getAppointments(session as Session, podUrl);
console.log("fetchappointments", appointments);

const posts = await getPosts(session as Session, podUrl);
console.log("fetchposts", posts);
} catch (error) {
console.error("Error fetching data:", error);
Copy link
Collaborator

Choose a reason for hiding this comment

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

console.log 👀

Copy link
Collaborator

@Zelzahn Zelzahn left a comment

Choose a reason for hiding this comment

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

Remove prints, and then it can be merged 😄

@Zelzahn Zelzahn merged commit 229bec7 into root Jul 18, 2024
4 checks passed
@Zelzahn Zelzahn deleted the 47-get-resources-pod branch July 18, 2024 14:14
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.

[Controller] get resources pod
2 participants