Skip to content

Commit be1722b

Browse files
committed
Change permission return
1 parent 833786e commit be1722b

File tree

1 file changed

+3
-1
lines changed
  • packages/git-extractor/src/routes/github

1 file changed

+3
-1
lines changed

packages/git-extractor/src/routes/github/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ export const getRights = async (ctx: Context) => {
6767
userToken
6868
);
6969

70-
return rights;
70+
ctx.body = {
71+
permission: rights
72+
};
7173
};
7274

7375
/**

0 commit comments

Comments
 (0)