File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export default defineComponent({
134134 } while (response .status === 202 );
135135 if (response .ok ) {
136136 const data = await response .json ();
137- const {total, ... rest } = data as ContributorsData ;
137+ const {total, ... other } = data as ContributorsData ;
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
@@ -146,7 +146,7 @@ export default defineComponent({
146146 this .xAxisMin = this .xAxisStart ;
147147 this .xAxisMax = this .xAxisEnd ;
148148 this .contributorsStats = {};
149- for (const [email, user] of Object .entries (rest )) {
149+ for (const [email, user] of Object .entries (other )) {
150150 user .weeks = fillEmptyStartDaysWithZeroes (startDays , user .weeks );
151151 this .contributorsStats [email ] = user ;
152152 }
You can’t perform that action at this time.
0 commit comments