patch up - Phrases/Idioms
The American Heritage® Dictionary of Idioms by Christine Ammer. Copyright © 2003, 1997 by The Christine Ammer 1992 Trust. Published by Houghton Mifflin Harcourt Publishing Company. All rights reserved.
Mend or repair, make whole. For example, He managed to patch up the lawn mower so it's running, or John cut his hand badly, but they patched him up in the emergency room, or Mike and Molly have patched up their differences. This term alludes to mending something by putting patches of material on it. [Second half of 1500s]