Skip to content

Commit b255336

Browse files
committed
fix fields
1 parent 947f91d commit b255336

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rollup/internal/controller/blob_uploader/blob_uploader.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ func (b *BlobUploader) GetFirstUnuploadedBatchByPlatform(ctx context.Context, st
222222
fields := map[string]interface{}{
223223
"batch_index = ?": batchIndex - 1,
224224
"batch_hash = ?": batch.ParentBatchHash,
225-
"platform = ?": platform,
226-
"status = ?": types.BlobUploadStatusUploaded,
225+
"platform = ?": int16(platform),
226+
"status = ?": int16(types.BlobUploadStatusUploaded),
227227
}
228228
blobUpload, err := b.blobUploadOrm.GetBlobUploads(ctx, fields, nil, 1)
229229
if err != nil {

0 commit comments

Comments
 (0)