Skip to content

Conversation

@brunopagno
Copy link
Contributor

@brunopagno brunopagno commented Nov 25, 2025

@brunopagno brunopagno self-assigned this Nov 25, 2025
@brunopagno brunopagno force-pushed the impl/69240-use-resourceid-instead-of-docname branch from eca27a9 to 361b2c0 Compare November 25, 2025 14:50
@brunopagno brunopagno requested a review from a team November 25, 2025 15:12
Copy link

@judithroth judithroth left a comment

Choose a reason for hiding this comment

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

I really like how this turned out 👍 so much more cleaned up!

*/
async onStoreDocument(data: onStoreDocumentPayload): Promise<void> {
const { documentId, opBasePath, readonly } = data.context;
const { resourceUrl, readonly } = data.context;

Choose a reason for hiding this comment

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

This is so much more elegant 😍

new OpenProjectApi().onAuthenticate({
token: "7u+b+QRJN7qANls=--URNw83hIWBq3MMIA--jtl+UPdtbniQVFNOs2EcAw==",
requestParameters: new URLSearchParams({ document_id: "121" }),
// Invalid token, generated with a different secret

Choose a reason for hiding this comment

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

Thanks for adding this comment!

@brunopagno brunopagno marked this pull request as ready for review November 25, 2025 18:08
@brunopagno brunopagno merged commit e95c5bb into dev Nov 25, 2025
4 checks passed
@brunopagno brunopagno deleted the impl/69240-use-resourceid-instead-of-docname branch November 25, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants