mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-11 19:56:44 +00:00
AddedTo
This commit is contained in:
parent
c03de5225d
commit
f3e6dc4bfb
3 changed files with 8 additions and 8 deletions
|
|
@ -53,7 +53,7 @@ export class Service extends DatabaseService<Model> {
|
|||
const domains: Array<Model> = await this.findBy({
|
||||
query: {
|
||||
...deleteBy.query,
|
||||
isAddedtoGreenlock: true,
|
||||
isAddedToGreenlock: true,
|
||||
},
|
||||
|
||||
skip: 0,
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ export default class StatusPageDomain extends BaseModel {
|
|||
unique: false,
|
||||
default: false,
|
||||
})
|
||||
public isAddedtoGreenlock?: boolean = undefined;
|
||||
public isAddedToGreenlock?: boolean = undefined;
|
||||
|
||||
@ColumnAccessControl({
|
||||
create: [],
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ RunCron(
|
|||
const domains: Array<StatusPageDomain> =
|
||||
await StatusPageDomainService.findBy({
|
||||
query: {
|
||||
isAddedtoGreenlock: true,
|
||||
isAddedToGreenlock: true,
|
||||
isSslProvisioned: false,
|
||||
},
|
||||
select: {
|
||||
|
|
@ -208,7 +208,7 @@ RunCron(
|
|||
const domains: Array<StatusPageDomain> =
|
||||
await StatusPageDomainService.findBy({
|
||||
query: {
|
||||
isAddedtoGreenlock: false,
|
||||
isAddedToGreenlock: false,
|
||||
},
|
||||
select: {
|
||||
_id: true,
|
||||
|
|
@ -256,7 +256,7 @@ RunCron(
|
|||
await StatusPageDomainService.updateOneById({
|
||||
id: domain.id!,
|
||||
data: {
|
||||
isAddedtoGreenlock: true,
|
||||
isAddedToGreenlock: true,
|
||||
},
|
||||
props: {
|
||||
isRoot: true,
|
||||
|
|
@ -284,7 +284,7 @@ RunCron(
|
|||
const domains: Array<StatusPageDomain> =
|
||||
await StatusPageDomainService.findBy({
|
||||
query: {
|
||||
isAddedtoGreenlock: true,
|
||||
isAddedToGreenlock: true,
|
||||
},
|
||||
select: {
|
||||
_id: true,
|
||||
|
|
@ -321,7 +321,7 @@ RunCron(
|
|||
await StatusPageDomainService.updateOneById({
|
||||
id: domain.id!,
|
||||
data: {
|
||||
isAddedtoGreenlock: false,
|
||||
isAddedToGreenlock: false,
|
||||
isCnameVerified: false,
|
||||
},
|
||||
props: {
|
||||
|
|
@ -485,7 +485,7 @@ RunCron(
|
|||
const domains: Array<StatusPageDomain> =
|
||||
await StatusPageDomainService.findBy({
|
||||
query: {
|
||||
isAddedtoGreenlock: true,
|
||||
isAddedToGreenlock: true,
|
||||
},
|
||||
select: {
|
||||
_id: true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue