try it flipped

This commit is contained in:
dylan 2024-03-26 00:20:53 -07:00
parent 83bb775e28
commit 09dce181ae

View File

@ -23,15 +23,15 @@ const handler = async ({payload}: FirRouteInput<typeof payloadT>) => {
await git.clone({
fs,
http,
headers: {
"Authorization": `Bearer ${token}`,
},
// onAuth() {
// return {
// username: token,
// password: 'x-access-token',
// }
// headers: {
// "Authorization": `Bearer ${token}`,
// },
onAuth() {
return {
username: 'x-access-token',
password: token,
}
},
dir: "./repos",
url: manifest.repo,
});