Skip to content

Commit f3c6a00

Browse files
authored
Fix api version check in AtelierAPI.getDoc() (intersystems-community#1110)
1 parent 0f85ce3 commit f3c6a00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ export class AtelierAPI {
480480
// api v1+
481481
public getDoc(name: string, format?: string, mtime?: number): Promise<Atelier.Response<Atelier.Document>> {
482482
let params = {};
483-
if (!format && config("multilineMethodArgs") && this._config.apiVersion >= 4) {
483+
if (!format && config("multilineMethodArgs", this.configName) && this.config.apiVersion >= 4) {
484484
format = "udl-multiline";
485485
}
486486
if (format) {

0 commit comments

Comments
 (0)