isMarkedAsClosed --> isSuspended

This commit is contained in:
syuilo
2020-01-30 05:56:14 +09:00
parent 31abd2f59b
commit 96648b651e
5 changed files with 29 additions and 9 deletions

View File

@ -14,7 +14,7 @@ export const meta = {
validator: $.str
},
isClosed: {
isSuspended: {
validator: $.bool
},
}
@ -28,6 +28,6 @@ export default define(meta, async (ps, me) => {
}
Instances.update({ host: toPuny(ps.host) }, {
isMarkedAsClosed: ps.isClosed
isSuspended: ps.isSuspended
});
});