package pl.firmatpp.kierowca.data.upload

import pl.firmatpp.kierowca.data.model.PhotoUploadReceiptDto

object PhotoUploadReceiptVerifier {
    fun matches(upload: PhotoUploadEntity, receipt: PhotoUploadReceiptDto): Boolean =
        receipt.clientRequestId == upload.clientRequestId &&
            receipt.contentSha256.lowercase() == upload.contentSha256.lowercase()
}
