try onAuth instead
This commit is contained in:
		| @@ -21,8 +21,14 @@ const handler = async ({payload}: FirRouteInput<typeof payloadT>) => { | ||||
| 	await git.clone({ | ||||
| 		fs, | ||||
| 		http, | ||||
| 		headers: { | ||||
| 			"Authorization": `token ${token}`, | ||||
| 		// headers: { | ||||
| 		// 	"Authorization": `token ${token}`, | ||||
| 		// }, | ||||
| 		onAuth() { | ||||
| 			return { | ||||
| 				username: token, | ||||
| 				password: 'x-access-token', | ||||
| 			} | ||||
| 		}, | ||||
| 		dir: "./repos", | ||||
| 		url: manifest.repo, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 dylan
					dylan