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

Replace StatusCode() when its possible #12344

Merged
merged 2 commits into from
Sep 8, 2022
Merged

Conversation

hishamco
Copy link
Member

@hishamco hishamco commented Sep 6, 2022

No description provided.

@hishamco
Copy link
Member Author

hishamco commented Sep 6, 2022

I'm not sure why Forbid don't allow to pass an object like other results?!!

/// </summary>
/// <param name="controller">The <see cref="Controller"/>.</param>
/// <param name="value">An optinal value to set on <see cref="ObjectResult"/>.</param>
public static ActionResult InternalServerError(this Controller controller, object value = null)
Copy link
Member Author

Choose a reason for hiding this comment

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

@jtkech why this not accessible from within OC.XmlRpc module?!!

@hishamco hishamco added this to the 1.5 milestone Sep 6, 2022
@sebastienros sebastienros merged commit 7956537 into main Sep 8, 2022
@sebastienros sebastienros deleted the hishamco/status-code branch September 8, 2022 18:15
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.

2 participants