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

Add thread_id to all message API endpoints #529

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

czepiec
Copy link
Contributor

@czepiec czepiec commented Dec 18, 2024

Is there any reason why the message thread_id is in the API messages/sync but not in messages/{id} and messages/search?

This PR consistently adds the thread_id to messages/{id} and messages/search. But it's possible I'm missing something and it's meant to be without it.

It's not fully tested yet, so it's a draft.

@czepiec czepiec marked this pull request as draft December 18, 2024 22:09
@jsuchal
Copy link
Member

jsuchal commented Dec 19, 2024

@czepiec this is good point, I don't see a reason why we should omit this.

@czepiec czepiec marked this pull request as ready for review December 19, 2024 19:56
Copy link
Member

@jsuchal jsuchal left a comment

Choose a reason for hiding this comment

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

Skusim tu dat approve kvoli testom

Copy link
Member

@luciajanikova luciajanikova left a comment

Choose a reason for hiding this comment

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

Po navrhnutych zmenach uz ok, testy zelene.

app/views/api/messages/show.json.jbuilder Outdated Show resolved Hide resolved
app/views/api/messages/search.json.jbuilder Outdated Show resolved Hide resolved
@jsuchal jsuchal merged commit cd21e63 into slovensko-digital:main Dec 20, 2024
@jsuchal
Copy link
Member

jsuchal commented Dec 20, 2024

@czepiec diky!

@jsuchal
Copy link
Member

jsuchal commented Dec 20, 2024

@luciajanikova dajme aj na prod

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.

3 participants