fix(gateway): deploy native in-project soc-gateway-live container artifact, eliminate ttyd terminal, clean up external static apps, and update English security reports
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
const { getAuth } = require('./auth_manager');
|
||||
|
||||
async function main() {
|
||||
const td = await getAuth();
|
||||
const res = await fetch('https://graphql.ghaymah.systems/v1/graphql', {
|
||||
method: 'POST',
|
||||
headers: { 'Authorization': 'Bearer ' + td.token, 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify({
|
||||
query: `query {
|
||||
ghaymah_cloud_row_event(
|
||||
where: { app_id: { _eq: "3d5666fe-95db-4e73-b6b2-dd0e41fca7f6" } },
|
||||
order_by: { event_date: desc },
|
||||
limit: 5
|
||||
) {
|
||||
id app_id event_date running values
|
||||
}
|
||||
}`
|
||||
})
|
||||
});
|
||||
const data = await res.json();
|
||||
console.log(JSON.stringify(data, null, 2));
|
||||
}
|
||||
|
||||
main().catch(console.error);
|
||||
Reference in New Issue
Block a user