Skip to content

Commit 203a658

Browse files
authored
CARTO module: bearer token always in header (visgl#5933)
1 parent 5338f9a commit 203a658

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/carto/src/api/maps-v3-client.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,7 @@ export async function getData({type, source, connection, credentials, format}) {
142142
}
143143
}
144144

145-
return await request({url, format: mapFormat});
145+
const {accessToken} = localCreds;
146+
147+
return await request({url, format: mapFormat, accessToken});
146148
}

0 commit comments

Comments
 (0)