Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Function parseJsonToRawMap needs edition #671

@letoribo

Description

@letoribo

Describe the bug
When adding nodes in Neo4j errors occur if these lines are not commented out:
https://github.com/hypermodeinc/modus/blob/main/sdk/assemblyscript/src/assembly/dynamicmap.ts#L126-L128
https://github.com/hypermodeinc/modus/blob/main/sdk/assemblyscript/src/assembly/dynamicmap.ts#L187-L189

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'modus discord'
  2. Open browser console 'Local Storage' 'https://discord.com'
  3. Enter in the filter field 'token'
  4. Copy token value and paste it to MODUS_DISCORD_TOKEN="..." in environment variables
  5. Open function https://github.com/letoribo/rhino/blob/main/assembly/index.ts#L52 in graphql explorer
  6. Set channel_id "1292948253796466730" and execute discord2Neo function
  7. See error

Expected behavior
All messages should be added to the database.

Videos

[videos.](https://discord.com/channels/1267579648657850441/1292948253796466730/1323674653688074320, https://discord.com/channels/1267579648657850441/1292948253796466730/1324464313519570976))

Environment

  • OS: [WSL Ubuntu]
  • Language [AssemblyScript]
  • Version [0.27.31]

Additional context
Some messages from Discord not being added to Neo4j.
The same in Python works as expected

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions