Skip to content

It doesn't work with JavaScript's "fetch" api #17

@SalehBagheri

Description

@SalehBagheri

I am using asynchronous 'fetch' to send requests. The endpoint actions call the "_notyfService.Success" method, but the notyf doesn't work and it is not displayed on the screen.

JS code:
let response = await fetch('/controller/action');

and in Controller's action, I have:
_notyfService.Success("Text"); return new EmptyResult();

Any suggestion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions