refactor: provenance api log
parent
84e0f8f29b
commit
5284d9435e
|
@ -115,7 +115,13 @@ export class UpEndApi {
|
|||
value: IValue,
|
||||
provenance?: string
|
||||
): Promise<Address> {
|
||||
dbg("Putting %s = %o for %s (%s)", attribute, value, entity, provenance);
|
||||
dbg(
|
||||
"Putting %s = %o for %s%s",
|
||||
attribute,
|
||||
value,
|
||||
entity,
|
||||
provenance ? ` (Provenance: ${provenance})` : ""
|
||||
);
|
||||
let url = `${this.apiUrl}/obj/${entity}/${attribute}`;
|
||||
if (provenance) {
|
||||
url += `?provenance=${provenance}`;
|
||||
|
|
Loading…
Reference in New Issue