(userId: string)
| 97 | }; |
| 98 | |
| 99 | export const removeUserById = async (userId: string) => { |
| 100 | await db |
| 101 | .delete(user) |
| 102 | .where(eq(user.id, userId)) |
| 103 | .returning() |
| 104 | .then((res) => res[0]); |
| 105 | }; |
| 106 | |
| 107 | export const getDokployUrl = async () => { |
| 108 | if (IS_CLOUD) { |