Commit 9903a68
authored
fix: rely on default BE code (#2144)
## Description
Following from
[here](https://github.com/SciCatProject/scicat-backend-next/blob/203cca8b81f4c72b6c27011e895a991f46a2eba1/src/config/configuration.ts#L202),
this PR relies on the BE default status code. This allows different
facilities to use different status codes by setting them in the BE and
have no explicit dependency in the FE
## Tests included
- [ ] Included for each change/fix?
- [ ] Passing? (Merge will not be approved unless this is checked)
## Documentation
- [ ] swagger documentation updated \[required\]
- [ ] official documentation updated \[nice-to-have\]
### official documentation info
If you have updated the official documentation, please provide PR # and
URL of the pages where the updates are included
## Backend version
- [ ] Does it require a specific version of the backend
- which version of the backend is required:
## Summary by Sourcery
Enhancements:
- Remove the hard-coded job status message from admin dataset reset jobs
to defer to backend-configured defaults.1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
0 commit comments