feat: add isAdmin column to token entity; implement migration for isAdmin; enhance logging and error handling in query execution; update query plugin to support new logging structure
This commit is contained in:
@ -9,7 +9,7 @@ export default async (project: { token: string }, source: string) => {
|
||||
source,
|
||||
projectToken: project.token,
|
||||
},
|
||||
{ headers: { "x-api-token": "efbeccd6-dde1-47dc-b3aa-4fbd773d5429" } }
|
||||
{ headers: { "x-api-token": "43c2e96e-af25-4467-9103-1479daa6288d" } }
|
||||
);
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
|
||||
@ -8,8 +8,8 @@ export default async (token: string, queryData: Record<string, any>) => {
|
||||
queryData,
|
||||
{
|
||||
headers: {
|
||||
"x-api-token": "efbeccd6-dde1-47dc-b3aa-4fbd773d5429",
|
||||
Cookie: `x-session-id=psaCHcYFMrt6RnUz_1760094020243`,
|
||||
"x-api-token": "43c2e96e-af25-4467-9103-1479daa6288d",
|
||||
Cookie: `x-session-id=gTEd90aRJFmLzJKu_1760193754588`,
|
||||
},
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user