mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 02:42:45 +00:00
fix: get user repositories
This commit is contained in:
@@ -114,7 +114,7 @@ export default class User {
|
||||
async getRepositories() {
|
||||
const repositories = (
|
||||
await AnonymizedRepositoryModel.find({
|
||||
owner: this.username,
|
||||
owner: this.id,
|
||||
}).exec()
|
||||
).map((d) => new Repository(d));
|
||||
const promises = [];
|
||||
|
||||
Reference in New Issue
Block a user