from flask import Blueprint, request
from V2.functions.Products.update import updateSingleProduct
from V2.middlewares.auth import sendResponse

productsv2 = Blueprint("productsv2", __name__)

@productsv2.put("/sync/<id>")
def syncSingleProduct(id):
    return sendResponse(updateSingleProduct, request, id)
