Download tasks/codeql_javascript_benchmark_top30_v1/morefixes-b475f3a535ea41bec3ff/patch.diff from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 610 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/codeql_javascript_benchmark_top30_v1/morefixes-b475f3a535ea41bec3ff/patch.diff
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/codeql_javascript_benchmark_top30_v1/morefixes-b475f3a535ea41bec3ff/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/codeql_javascript_benchmark_top30_v1/morefixes-b475f3a535ea41bec3ff/patch.diff
610 Bytes
| diff --git a/webapp/src/dogma/features/api/apiSlice.ts b/webapp/src/dogma/features/api/apiSlice.ts | |
| index 7e48850..2632df1 100644 | |
| --- a/webapp/src/dogma/features/api/apiSlice.ts | |
| +++ b/webapp/src/dogma/features/api/apiSlice.ts | |
| const baseQueryWithReauth: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQue | |
| ) => { | |
| const result = await baseQuery(args, api, extraOptions); | |
| - if (result.error && (result.error.status === 401 || result.error.status === 403)) { | |
| + if (result.error && result.error.status === 401) { | |
| api.dispatch(clearAuth()); | |
| Router.push(createLoginUrl()); | |
| } | |