@pax2pay/model-banking 0.1.345 → 0.1.346
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client/Audit.ts +1 -1
- package/dist/Client/Audit.js +1 -1
- package/dist/Client/Audit.js.map +1 -1
- package/package.json +1 -1
package/Client/Audit.ts
CHANGED
|
@@ -5,6 +5,6 @@ import { Audit as AuditLog } from "../Audit"
|
|
|
5
5
|
export class Audit {
|
|
6
6
|
constructor(private readonly client: http.Client) {}
|
|
7
7
|
async list(resource?: AuditLog.Resource): Promise<AuditLog[] | gracely.Error> {
|
|
8
|
-
return this.client.get<AuditLog[]>(`/audit
|
|
8
|
+
return this.client.get<AuditLog[]>(`/audit${resource ? "/" + resource : ""}`)
|
|
9
9
|
}
|
|
10
10
|
}
|
package/dist/Client/Audit.js
CHANGED
package/dist/Client/Audit.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Audit.js","sourceRoot":"../","sources":["Client/Audit.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,KAAK;IACjB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,QAA4B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAa,
|
|
1
|
+
{"version":3,"file":"Audit.js","sourceRoot":"../","sources":["Client/Audit.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,KAAK;IACjB,YAA6B,MAAmB;QAAnB,WAAM,GAAN,MAAM,CAAa;IAAG,CAAC;IACpD,KAAK,CAAC,IAAI,CAAC,QAA4B;QACtC,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAa,SAAS,QAAQ,CAAC,CAAC,CAAC,GAAG,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;IAC9E,CAAC;CACD"}
|