mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-26 03:36:08 -05:00 
			
		
		
		
	only pass created_date from frontend
This commit is contained in:
		| @@ -121,6 +121,12 @@ export class DocumentService extends AbstractPaperlessService<PaperlessDocument> | ||||
|     return url | ||||
|   } | ||||
|  | ||||
|   update(o: PaperlessDocument): Observable<PaperlessDocument> { | ||||
|     // we want to only set created_date | ||||
|     o.created = undefined | ||||
|     return super.update(o) | ||||
|   } | ||||
|  | ||||
|   uploadDocument(formData) { | ||||
|     return this.http.post( | ||||
|       this.getResourceUrl(null, 'post_document'), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Shamoon
					Michael Shamoon