mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
reenable Github download
This commit is contained in:
@@ -56,8 +56,8 @@ export default class Repository {
|
||||
this._model = data;
|
||||
switch (data.source.type) {
|
||||
case "GitHubDownload":
|
||||
// this.source = new GitHubDownload(data.source, this);
|
||||
// break;
|
||||
this.source = new GitHubDownload(data.source, this);
|
||||
break;
|
||||
case "GitHubStream":
|
||||
this.source = new GitHubStream(data.source, this);
|
||||
break;
|
||||
|
||||
@@ -4,7 +4,7 @@ import { IRepositoryDocument } from "../database/repositories/repositories.types
|
||||
import { Octokit, RestEndpointMethodTypes } from "@octokit/rest";
|
||||
import RepositoryModel from "../database/repositories/repositories.model";
|
||||
import AnonymousError from "../AnonymousError";
|
||||
import { database, isConnected } from "../database/database";
|
||||
import { isConnected } from "../database/database";
|
||||
|
||||
export class GitHubRepository {
|
||||
private _data: Partial<{
|
||||
|
||||
Reference in New Issue
Block a user