Set Authorization to authToken

This commit is contained in:
Jackson Harper
2023-01-05 11:13:58 +08:00
parent cfa3b5de89
commit 37dc0336fa

View File

@ -67,7 +67,7 @@ const importCompletedTask = async (userId: string, urlsEnqueued: number) => {
process.env.JWT_SECRET
)) as string
const headers = {
Authorization: `auth=${authToken}`,
Authorization: authToken,
}
return createCloudTask(