1
0
Fork 0
mirror of synced 2024-09-21 20:01:32 +12:00
budibase/packages/frontend-core/src/api/logs.js
Adria Navarro 0b5717cde5 Renamings
2023-07-11 10:44:10 +02:00

14 lines
293 B
JavaScript

export const buildLogsEndpoints = API => ({
/**
* Gets a stream for the system logs.
*/
getSystemLogs: async () => {
return await API.get({
url: "/api/system/logs",
json: false,
parseResponse: async response => {
return response
},
})
},
})