Code Monkey home page Code Monkey logo

adonis-notifications's People

Contributors

enniel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

adonis-notifications's Issues

Unable to send notifications with DatabaseChannel

Error while sending notifications with Adonis notifications package.
Getting this error:

TypeError: notifiable.routeNotificationFor is not a function
    at DatabaseChannel.send (C:\Users\Ethiel ADIASSA\Desktop\Projets\smartjobs\node_modules\adonis-notifications\src\Channels\DatabaseChannel.js:8:23)

i make sure everything is well set from my side.

Connecting Monog Db

Thanks for such an awesome work. Is it possible i can use mongo as database. If yes can you please help and suggest me solution, or if you have any working code. I will really appreciate.

Thanks

INstallation problem

./ace run notifications:setup

How do i implement the above line of code please

When using database, Primary key id is set to Auto Increment.

You are passing id to Notification.create(), which is causing this. I can fix it if you want

sqlMessage: "Duplicate entry '4294967295' for key 'notifications.PRIMARY'",
sqlState: '23000',
index: 0,
sql: 'insert into notifications (created_at, data, id, notifiable_id, notifiable_type, type, updated_at) values ('2020-10-20 12:38:35', '{\"notifiedBy_id\":1,\"notifiedBy_name\":\"Prince Vishal\",\"message\":\"You owe 50 to Prince Vishal. This is a gentle reminder to pay back.\",\"split_id\":187,\"expense_id\":65}', 'df829d02-b1ee-4113-9cb2-64bb77e1a4da', 50, 'users', 'notify-to-pay', '2020-10-20 12:38:35')'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.