SwapMe / src /utils.py
Help
V1 and multfiel support with ig support and clean code
4ff9d22
raw
history blame contribute delete
180 Bytes
def check_payload(data):
if not data or 'source_url' not in data or 'target_url' not in data:
return jsonify({'success': False, 'error': 'Missing URL parameters'}), 400