(fileShareId: string)
| 516 | } |
| 517 | |
| 518 | static async delete(fileShareId: string): Promise<void> { |
| 519 | await db.query( |
| 520 | sql`DELETE FROM "bewcloud_file_shares" WHERE "id" = $1`, |
| 521 | [fileShareId], |
| 522 | ); |
| 523 | } |
| 524 | |
| 525 | static async createSessionCookie( |
| 526 | request: Request, |