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

fix(sdf): return 404 if the func is not found in the requested changeset #4155

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

britmyerss
Copy link
Contributor

@britmyerss britmyerss requested a review from nickgerace July 15, 2024 20:56
@github-actions github-actions bot added the A-sdf Area: Primary backend API service [Rust] label Jul 15, 2024
let func = Func::get_by_id_or_error(ctx, func_id).await?;
let func = Func::get_by_id(ctx, func_id)
.await?
.ok_or(FuncAPIError::FuncNotFound(func_id))?;
Copy link
Contributor

Choose a reason for hiding this comment

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

NICE!!!

Copy link
Contributor

@nickgerace nickgerace left a comment

Choose a reason for hiding this comment

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

@britmyerss britmyerss added this pull request to the merge queue Jul 15, 2024
Merged via the queue into main with commit e4e82d2 Jul 15, 2024
8 checks passed
@britmyerss britmyerss deleted the brit/bug-458-return-404-from-func-v2-routes branch July 15, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-sdf Area: Primary backend API service [Rust]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants