Skip to content

Commit b374c43

Browse files
committed
move as
1 parent 105be90 commit b374c43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web_src/js/components/RepoContributors.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ export default defineComponent({
133133
}
134134
} while (response.status === 202);
135135
if (response.ok) {
136-
const data = await response.json();
137-
const {total, ...other} = data as ContributorsData;
136+
const data = await response.json() as ContributorsData;
137+
const {total, ...other} = data;
138138
// below line might be deleted if we are sure go produces map always sorted by keys
139139
total.weeks = Object.fromEntries(Object.entries(total.weeks).sort());
140140

0 commit comments

Comments
 (0)