We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84c3c34 commit f4408a6Copy full SHA for f4408a6
1 file changed
oshminer/GitHub.py
@@ -3,13 +3,13 @@
3
# SPDX-FileCopyrightText: 2022 Pen-Yuan Hsing
4
# SPDX-License-Identifier: AGPL-3.0-or-later
5
6
-def make_GitHub_request(url: str, data: list) -> str:
+async def make_GitHub_request(url: str, data: list) -> dict:
7
print(f"Constructing an API request to GitHub for repository {url} for the following data {data}")
8
9
# Create a dictionary to hold results from GitHub API query
10
results: dict = {
11
"repository": str(url),
12
- "platform": "Wikifactory",
+ "platform": "GitHub",
13
"requested_data": {}
14
}
15
0 commit comments