-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/handle 404 for mellomlagring #1011
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💾
true, | ||
); | ||
if (isNotFound(sendInnResponse, responseError)) { | ||
return res.sendStatus(404); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Burde vi logge noe her?
{mellomlagringError.linkText && ( | ||
<p> | ||
{translate(mellomlagringError.messageStart)} | ||
<a href={mellomlagringError.url}>{mellomlagringError.linkText}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oversettelse
@@ -220,15 +220,22 @@ export interface FormsResponseForm extends Pick<NavFormType, '_id' | 'title' | ' | |||
export type SubmissionData = Record<string, string | number | boolean | any[] | object>; | |||
|
|||
type ErrorType = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
litt rart at disse typene ligger i shared-domain, men kanskje utenfor scope av denne oppgaven
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kom på hvorfor. Disse typene brukes av fyllutState som er del av Submission.
No description provided.