feat: sending images and receiving them is now working

This commit is contained in:
2025-03-08 13:13:05 +00:00
parent bf07c18fd7
commit 53ebbb6e8d
4 changed files with 21 additions and 9 deletions

View File

@@ -24,6 +24,8 @@ func SaveImageToProcess(userId string, imageName string, imageData []byte) (mode
stmt := UserImagesToProcess.INSERT(UserImagesToProcess.UserID, UserImagesToProcess.ImageID).VALUES(userId, image.ID).RETURNING(UserImagesToProcess.AllColumns)
fmt.Println(stmt.DebugSql())
userImage := model.UserImagesToProcess{}
err = stmt.Query(db, &userImage)