aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-05 09:21:04 +0100
committerChocobozzz <me@florianbigard.com>2019-11-05 09:21:04 +0100
commit41eac41b0583bc9b277ae872b1b56a210ba7c29c (patch)
tree5c801d3b4e17756a98065fc26e98b954649d9079
parentebd316d142d1619ded87277c274ea39df2eb21c2 (diff)
downloadPeerTube-41eac41b0583bc9b277ae872b1b56a210ba7c29c.tar.gz
PeerTube-41eac41b0583bc9b277ae872b1b56a210ba7c29c.tar.zst
PeerTube-41eac41b0583bc9b277ae872b1b56a210ba7c29c.zip
Fix typings
-rwxr-xr-xscripts/generate-code-contributors.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts
index 8cc3dc5b4..5635d9889 100755
--- a/scripts/generate-code-contributors.ts
+++ b/scripts/generate-code-contributors.ts
@@ -91,5 +91,5 @@ async function fetchZanata (zanataUsername: string, zanataPassword: string) {
91 get(year2019, headers) 91 get(year2019, headers)
92 ]) 92 ])
93 93
94 return uniqBy((results2018.concat(results2019)), 'username') 94 return uniqBy(results2018.concat(results2019) as { username: string }[], 'username')
95} 95}