captcha
This commit is contained in:
@ -22,6 +22,10 @@ export const QueueApi = createApi({
|
||||
if (token) {
|
||||
headers.set("authorization", `Bearer ${token}`);
|
||||
}
|
||||
const clientID = (getState() as RootState).auth.clientId;
|
||||
if (clientID) {
|
||||
headers.set("X-Client-Id", clientID);
|
||||
}
|
||||
return headers;
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user