mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
show newlines in action res and longer timeout
This commit is contained in:
committed by
Aiden McClelland
parent
d9894d4082
commit
e69a936fb8
@@ -274,7 +274,7 @@ export class LiveApiService extends ApiService {
|
||||
id: uuid.v4(),
|
||||
method: s.id,
|
||||
}
|
||||
return this.authRequest({ method: Method.POST, url: `/apps/${appId}/actions`, data })
|
||||
return this.authRequest({ method: Method.POST, url: `/apps/${appId}/actions`, data, readTimeout: 300000 })
|
||||
}
|
||||
|
||||
async refreshLAN(): Promise<Unit> {
|
||||
|
||||
@@ -235,11 +235,11 @@ export class MockApiService extends ApiService {
|
||||
return {
|
||||
jsonrpc: '2.0',
|
||||
id: '0',
|
||||
// result: 'Congrats! you did ' + action.name,
|
||||
error: {
|
||||
code: 1,
|
||||
message: 'woooo that was bad bad bad',
|
||||
},
|
||||
result: 'Congrats! you did\na new line: ' + action.name,
|
||||
// error: {
|
||||
// code: 1,
|
||||
// message: 'woooo that was bad bad bad',
|
||||
// },
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user