constructor()

in packages/lks-core/src/LinearKintoneSync.ts [19:27]


  constructor(kintoneApps?: KintoneApps) {
    this.handler = new WebhookHandler();
    this.apps =
      kintoneApps === undefined ? getKintoneAppsFromEnv() : kintoneApps;
    if (this.apps.issue.fieldCodeOfPrimaryKey !== "$id") {
      throw new Error("Needs issue.fieldCodeOfPrimaryKey is $id");
    }
    this.addCallbacks();
  }