How do i properly save data on endb

so im trying to make a warning system but idk how to properly save in endb because it says Promise { } when i get it with await this is my code WarnSys.set("480805672057962516_Rating", "1") async function getRating(userID) { if(!await WarnSys.has(userID + "_Rating")) { return "0"; } else { return await WarnSys.get(userID + "_Rating") } } console.log(JSON.stringify(getRating("480805672057962516")));

{} when i added stringify