We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 105be90 commit b374c43Copy full SHA for b374c43
web_src/js/components/RepoContributors.vue
@@ -133,8 +133,8 @@ export default defineComponent({
133
}
134
} while (response.status === 202);
135
if (response.ok) {
136
- const data = await response.json();
137
- const {total, ...other} = data as ContributorsData;
+ const data = await response.json() as ContributorsData;
+ const {total, ...other} = data;
138
// below line might be deleted if we are sure go produces map always sorted by keys
139
total.weeks = Object.fromEntries(Object.entries(total.weeks).sort());
140
0 commit comments