question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hi, in my links section it contains undefined which should be app url, is there any option or maybe I miss something? I’ve set APP_URL in .env but it’s still undefined

image

This is my service

async getChatNotification(query: PaginateQuery): Promise<Paginated<ChatNotificationEntity>> {
  return paginate(query, this.chatNotification, {
    where: { deleted_at: null },
    sortableColumns: ['id', 'title', 'type', 'content', 'read_at'],
    searchableColumns: ['id', 'title', 'type', 'shop_id', 'content', 'read_at'],
    defaultSortBy: [['id', 'DESC']],
  })
}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Helvegcommented, Aug 8, 2022

It’s windows only and an easy workaround exists, but if it comes up in the backlog I’ll take a look!

  @Get()
  findAll(@Query() query: PaginateQuery, @Req() request) {
    query.path = request.protocol + '://' + request.get('host') + request.originalUrl;
    return this.dataService.findAll(query);
  }
0reactions
Helvegcommented, Sep 3, 2022

Well, turns out I was missing the @Paginate decorator! Noticed later on that other features like searching and filtering weren’t working either

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined Page Links | Confluence Data Center and Server 8.0
The Undefined Pages view shows you all undefined pages in your space. The undefined page links are badged with a icon to remind...
Read more >
Confluence - What is an "undefined page link"?
You can add links to pages that do not yet exist in Confluence, but that you want to create later. These are called...
Read more >
Undefined Page Links - Learn Atlassian Confluence #118
More: http://seibert.biz/learnconfluence - Our free and informative guide to learning Confluence from scratch for new users in small and ...
Read more >
Passing data through <Link /> but getting undefined using ...
I'm struggling to pass some data from one component to another one using <Link /> .
Read more >
{{$posts->links()}} : Call to Undefined Method - Laracasts
I have tried to use a pagination but its says "Call to undefined Method" ... Without the code {{$posts->links()}} the page loads fine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found