mirror of
https://github.com/unraid/api.git
synced 2026-01-14 12:39:53 -06:00
fix: print json correctly instead of [Object object]
This commit is contained in:
@@ -36,7 +36,7 @@ export const subscribeToServers = async (apiKey: string) => {
|
||||
const subscription = query.subscribe({
|
||||
next: async ({ data, errors }) => {
|
||||
log.silly('Got data back with %s errors', errors?.length ?? 0);
|
||||
log.silly('Got data %s', data);
|
||||
log.silly('Got data %j', data);
|
||||
log.silly('Got errors %s', errors);
|
||||
|
||||
if (errors) {
|
||||
|
||||
Reference in New Issue
Block a user