fix lint
This commit is contained in:
parent
0abe2dfee0
commit
c69b72e199
573 changed files with 3318 additions and 3318 deletions
|
|
@ -13,7 +13,7 @@ async function main(name: string, url: string, alias?: string): Promise<any> {
|
|||
name,
|
||||
url,
|
||||
aliases,
|
||||
updatedAt: new Date()
|
||||
updatedAt: new Date(),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ async function main(username: string) {
|
|||
|
||||
const res = await Users.update({
|
||||
usernameLower: username.toLowerCase(),
|
||||
host: null
|
||||
host: null,
|
||||
}, {
|
||||
isAdmin: false
|
||||
isAdmin: false,
|
||||
});
|
||||
|
||||
if (res.affected !== 1) {
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ async function main(username: string) {
|
|||
|
||||
const res = await Users.update({
|
||||
usernameLower: username.toLowerCase(),
|
||||
host: null
|
||||
host: null,
|
||||
}, {
|
||||
isAdmin: true
|
||||
isAdmin: true,
|
||||
});
|
||||
|
||||
if (res.affected !== 1) {
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ async function main(username: string, headers?: string[]) {
|
|||
if (user == null) throw new Error('User not found');
|
||||
|
||||
const history = await Signins.find({
|
||||
userId: user.id
|
||||
userId: user.id,
|
||||
});
|
||||
|
||||
for (const signin of history) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue