fix(plugins/base): job availability status (#1081)

This commit is contained in:
Simon Lecoq
2022-05-29 03:44:21 +02:00
committed by GitHub
parent 965ab51f01
commit 509c83ce17
7 changed files with 14 additions and 10 deletions

View File

@@ -139,10 +139,6 @@ export default async function({login, q}, {conf, data, rest, graphql, plugins, q
console.debug(`metrics/compute/${login} > applying dflag --cakeday`)
computed.cakeday = true
}
if (dflags.includes("--hireable")) {
console.debug(`metrics/compute/${login} > applying dflag --hireable`)
data.user.isHireable = true
}
if (dflags.includes("--halloween")) {
console.debug(`metrics/compute/${login} > applying dflag --halloween`)
//Haloween color replacer

View File

@@ -467,7 +467,6 @@ inputs:
description: |
Debug flags
- `--cakeday`: simulate registration anniversary
- `--hireable`: simulate "Available for hire" account setting
- `--halloween`: enable halloween colors
- `--error`: force render error
type: array
@@ -475,7 +474,6 @@ inputs:
default: ""
values:
- --cakeday
- --hireable
- --halloween
- --error
testing: yes