soft delete v1
This commit is contained in:
@ -16,7 +16,7 @@ export default router => {
|
||||
const itemid = (await db`
|
||||
select id
|
||||
from "items"
|
||||
where id = ${+avatar}
|
||||
where id = ${+avatar} and active = 'true'
|
||||
`)?.[0]?.id;
|
||||
|
||||
if(!itemid) {
|
||||
|
Reference in New Issue
Block a user