Skip to content

Commit ddf2e04

Browse files
sysAdminUpdateOrgVerification
1 parent cfae740 commit ddf2e04

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/dtable-web-api.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ class DTableWebAPI {
23622362
return this.req.get(url);
23632363
}
23642364

2365-
orgAdminSetVerification(orgID, phone, code) {
2365+
orgAdminUpdateVerification(orgID, phone, code) {
23662366
let url = this.server + '/api/v2.1/org/' + orgID + '/admin/verification/';
23672367
let data = {
23682368
phone: phone,
@@ -2573,6 +2573,11 @@ class DTableWebAPI {
25732573
});
25742574
}
25752575

2576+
sysAdminUpdateOrgVerification(orgID, verification) {
2577+
const url = this.server + '/api/v2.1/admin/organizations/' + orgID + '/org-verification/';
2578+
return this.req.post(url, {verification: verification});
2579+
}
2580+
25762581
sysAdminSearchOrgs(query) {
25772582
let url = this.server + '/api/v2.1/admin/search-organization/';
25782583
let params = {

0 commit comments

Comments
 (0)