Skip to content

client.attendanceCodes.all() - Object reference not set to an instance of an object. #14

Description

@iiminov

I suspect client.attendanceCodes.all() is throwing an object reference error because the response does not come back as paged results.

EndPointsTests.cs - does not include a test case for attendance codes. Otherwise, it would have been picked up.

I suspect the issues is that code expects to get nextPage property and in this case it doesn't as per the code snipet from DotNetClient/TestWondeClient/Program.cs

  iterate(students);
  if (students.nextPage())
    iterate(students);
  if (students.previousPage())
    iterate(students);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions