Discussions

Ask a Question
Back to All

Node import issue and Scheduled Shift API question.

Trying to get the 7shifts sdk working in my express node.js app, but from the suggested import syntax i'm seeing issues. Aren't you not allowed to use numbers in import names? Yet the suggested code says to do "import 7Shifts from '@api/7shifts';"

Also, for listing scheduled shifts a user id is a required field. Is there no endpoint that just would allow me to list all scheduled shifts for a given day?