Skip to content

Commit

Permalink
feat(systemkeywords.ts): introducing executionid feature in api
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanPerdomo committed Jan 10, 2023
1 parent cfee19e commit a65a82d
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 85 deletions.
2 changes: 1 addition & 1 deletion packages/admin.gbapp/services/GBAdminService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class GBAdminService implements IGBAdminService {
return password;
}

public static getRndReadableIdentifier() {
public static getRndReadableIdentifier(): string {

return lowercase_PW(14);
}
Expand Down
3 changes: 3 additions & 0 deletions packages/basic.gblib/services/DialogKeywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,10 @@ export class DialogKeywords {
}

public async getSingleton({}) {
const executionId = this.sys().getRandomId();
GBServer.globals.executions[executionId]={};
return {
executionId: executionId,
id: this.sys().getRandomId(),
username: this.userName(),
mobile: this.userMobile(),
Expand Down

0 comments on commit a65a82d

Please sign in to comment.