mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-05-21 16:56:51 +02:00
fix: repository owner id
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ export default class Repository {
|
|||||||
default:
|
default:
|
||||||
throw new Error("unsupported_source");
|
throw new Error("unsupported_source");
|
||||||
}
|
}
|
||||||
this.owner = new User(new UserModel({ id: data.owner }));
|
this.owner = new User(new UserModel({ _id: data.owner }));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user