Neither of those is right (the first one is "more wrong"). It may be that you mean this: Mary made a note of my telephone number so (that) she would not forget it.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.