1637. A creditor may assign to a third person all or part of a claim or a right of action which he has against his debtor.
He may not, however, make an assignment that is injurious to the rights of the debtor or that renders his obligation more onerous.