Skip to content

Commit 3f9e456

Browse files
authored
Merge pull request #150 from sumitd94/develop
return prList as array for all contribution type
2 parents cfa8993 + 84d8c3a commit 3f9e456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/contributions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const getUserContributions = async (username) => {
6363

6464
for (const prDetails of prMaps.values()) {
6565
const allObject = {
66-
prList: prDetails,
66+
prList: [prDetails],
6767
task: {}
6868
}
6969
all.push(allObject)

0 commit comments

Comments
 (0)