integrity: add integrity check fields and initial UI
This commit is contained in:
@@ -40,8 +40,8 @@ function create() {
|
||||
error = e;
|
||||
}
|
||||
|
||||
if (error || result.status !== 200) return [error || result];
|
||||
return [null];
|
||||
if (error || result.status !== 201) return [error || result];
|
||||
return [null, result.body.taskId];
|
||||
},
|
||||
async get(id) {
|
||||
let error, result;
|
||||
|
||||
Reference in New Issue
Block a user