Hi Sven,
I was confusing a few things, I currently have it like this:
const app = await client.getApp(appid);
const repo = app.getRepository();
const info = await repo.getInfo();
console.log(info.type);
and it seems to work just fine:
I think the issue is in part of the code that you didnt add to the question