mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-09-30 14:09:33 +02:00
fix: get user repositories
This commit is contained in:
1 parent
d812560b99
commit
622ea4b7a1
1 file changed
+1
-1
+1
-1
@@ -114,7 +114,7 @@ export default class User {
|
|||||||
async getRepositories() {
|
async getRepositories() {
|
||||||
const repositories = (
|
const repositories = (
|
||||||
await AnonymizedRepositoryModel.find({
|
await AnonymizedRepositoryModel.find({
|
||||||
owner: this.username,
|
owner: this.id,
|
||||||
}).exec()
|
}).exec()
|
||||||
).map((d) => new Repository(d));
|
).map((d) => new Repository(d));
|
||||||
const promises = [];
|
const promises = [];
|
||||||
|
|||||||
Reference in new issue
Block a user