Jump to content
McKay Development

Error when sending trade/saving to MongoDB


Verize

Recommended Posts

So before I send a trade offer to a user I save general details about the trade to my MongoDB database. But I get following error:

 

https://pastebin.com/4fSWHjrq

 

This is a code snippet of the function that causes the error:

https://pastebin.com/J5AeX6Fw

 

Trade.newTrade is a function that saves the trade info to my database.

 

What does this mean?

Edited by Verize
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...