feat: display username in repo card (optional) (#78)
* Display username in repo card (optional) * fix: show_owner boolean flag & used nameWithOwner from gql api
This commit is contained in:
1 parent
597dac2985
commit
9e4d83247e
6 files changed
+37
-8
No files matched your search
@@ -7,6 +7,7 @@ const { renderError } = require("../src/utils");
|
||||
|
||||
const data_repo = {
|
||||
repository: {
|
||||
username: "anuraghazra",
|
||||
name: "convoychat",
|
||||
stargazers: { totalCount: 38000 },
|
||||
description: "Help us take over the world! React + TS + GraphQL Chat App",
|
||||
@@ -61,6 +62,7 @@ describe("Test /api/pin", () => {
|
||||
icon_color: "fff",
|
||||
text_color: "fff",
|
||||
bg_color: "fff",
|
||||
full_name: "1",
|
||||
},
|
||||
};
|
||||
const res = {
|
||||
|
||||
Reference in new issue
Block a user