//native
export async function main(glab: RT.Gitlab, projectId: string) {
const url = `${glab.baseUrl}/api/v4/projects/${projectId}/repository/commits`;
const issue = await fetch(`${url}`, {
headers: {
Authorization: `Bearer ${glab.token}`,
"Content-Type": "application/json",
},
});
return await issue.json();
}
Submitted by hugo989 8 days ago