fix: repository owner id

This commit is contained in:
tdurieux
2021-09-06 11:26:19 +02:00
parent 622ea4b7a1
commit bcc9f5449c
+1 -1
View File
@@ -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 }));
} }
/** /**