mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-25 21:53:45 +01:00
chore: use strict compilation mode
This commit is contained in:
1 parent
3ab9b0c7a4
commit
ec6098b3a1
33 files changed
+4007
-2160
No files matched your search
@@ -9,7 +9,7 @@ export interface IAnonymizedPullRequest {
|
||||
anonymizeDate: Date;
|
||||
source: {
|
||||
pullRequestId: number;
|
||||
repositoryFullName?: string;
|
||||
repositoryFullName: string;
|
||||
accessToken?: string;
|
||||
};
|
||||
owner: string;
|
||||
|
||||
@@ -17,7 +17,7 @@ export interface IAnonymizedRepository {
|
||||
};
|
||||
owner: string;
|
||||
truckedFileList: boolean;
|
||||
originalFiles: Tree;
|
||||
originalFiles?: Tree;
|
||||
conference: string;
|
||||
options: {
|
||||
terms: string[];
|
||||
|
||||
@@ -13,6 +13,7 @@ export const database = mongoose.connection;
|
||||
export let isConnected = false;
|
||||
|
||||
export async function connect() {
|
||||
mongoose.set("strictQuery", false);
|
||||
await mongoose.connect(MONGO_URL + "production", {
|
||||
authSource: "admin",
|
||||
appName: "Anonymous GitHub Server",
|
||||
|
||||
Reference in new issue
Block a user