mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Withdrew console.log
This commit is contained in:
parent
062b567f35
commit
8b28177f11
@ -24,14 +24,10 @@ export class TransactionResolver {
|
|||||||
@Args()
|
@Args()
|
||||||
{ sessionId, currentPage = 1, pageSize = 25, order = 'DESC' }: GdtTransactionSessionIdInput,
|
{ sessionId, currentPage = 1, pageSize = 25, order = 'DESC' }: GdtTransactionSessionIdInput,
|
||||||
): Promise<GdtEntryList> {
|
): Promise<GdtEntryList> {
|
||||||
console.log(
|
|
||||||
`${CONFIG.COMMUNITY_API_URL}listGDTTransactions/${currentPage}/${pageSize}/${order}/${sessionId}`,
|
|
||||||
)
|
|
||||||
const result = await apiGet(
|
const result = await apiGet(
|
||||||
`${CONFIG.COMMUNITY_API_URL}listGDTTransactions/${currentPage}/${pageSize}/${order}/${sessionId}`,
|
`${CONFIG.COMMUNITY_API_URL}listGDTTransactions/${currentPage}/${pageSize}/${order}/${sessionId}`,
|
||||||
)
|
)
|
||||||
if (!result.success) {
|
if (!result.success) {
|
||||||
console.log('? ', result)
|
|
||||||
throw new Error(result.data)
|
throw new Error(result.data)
|
||||||
}
|
}
|
||||||
return new GdtEntryList(result.data)
|
return new GdtEntryList(result.data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user