Skip to content

enhance upload method to support new Lychee API#6

Open
engineerjoe440 wants to merge 10 commits intoChostakovitch:mainfrom
engineerjoe440:fix-upload-attributes
Open

enhance upload method to support new Lychee API#6
engineerjoe440 wants to merge 10 commits intoChostakovitch:mainfrom
engineerjoe440:fix-upload-attributes

Conversation

@engineerjoe440
Copy link
Contributor

Drat! 😦 I just found what appears to be a bug.

It seems that the most recent versions of Lychee require an additional parameter when uploading a photo. They seem to complain:

{
  "errors": {
    "fileLastModifiedTime": [
      "The file last modified time field is required."
    ]
  },
  "message": "The file last modified time field is required."
}

And it seems to require an integer:

{
  "errors": {
    "fileLastModifiedTime": [
      "The file last modified time must be a number."
    ]
  },
  "message": "The file last modified time must be a number."
}

This pull-request addresses that issue. I'm able to build this into my system, locally. So feel free to take your time to evaluate, but I think it will likely need to be pulled in at some point.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant