Warn and give hint when using an already used repo for another work
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
569d44880c
commit
7cdfafc329
4 changed files with 47 additions and 10 deletions
|
|
@ -5,13 +5,14 @@ export class WorkRepository {
|
|||
}
|
||||
}
|
||||
|
||||
update({ id, id_user, id_work, uri, secret, last_check }) {
|
||||
update({ id, id_user, id_work, uri, secret, last_check, already_used }) {
|
||||
this.id = id;
|
||||
this.id_user = id_user;
|
||||
this.id_work = id_work;
|
||||
this.uri = uri;
|
||||
this.secret = secret;
|
||||
this.last_check = last_check;
|
||||
this.already_used = already_used == true;
|
||||
}
|
||||
|
||||
async delete() {
|
||||
|
|
|
|||
Reference in a new issue