Skip to content

Feature request: Add userId to addfile #298

@menelike

Description

@menelike

When inserting a new document on an user initiated upload, userId is set per default within the generated document.

In our case we do not allow an optionaluserId per SimpleSchema:

  userId: {
    type: String,
    // optional: true
  }

We use addFile to add fixtures, technically there is no userId, but it would be great if we could just pass userId to addFile to stay consistent with user initiated uploads.

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions