(tag: Pick<SelectUserTag, 'id'>)
| 94 | }, |
| 95 | |
| 96 | async remove(tag: Pick<SelectUserTag, 'id'>) { |
| 97 | const userId = await getAuthedUserId() |
| 98 | const res = await db.delete(userTags).where(limiter(userId, tag.id)).returning() |
| 99 | return res |
| 100 | }, |
| 101 | |
| 102 | async removeMany({ ids }: { ids: TagId[] }) { |
| 103 | const userId = await getAuthedUserId() |
nothing calls this directly
no test coverage detected