This commit is contained in:
parent
843c9bc075
commit
550bd62ee6
@ -28,9 +28,9 @@ export class SendPostComponent implements OnInit {
|
||||
sendPic(event: any) {
|
||||
this.apiChatService.sendpic(event.target.files[0]).subscribe(
|
||||
response => {
|
||||
this.picResponse = response
|
||||
this.filename = response.value.toString()
|
||||
});
|
||||
this.filename = this.picResponse.value.toString()
|
||||
//this.filename = this.picResponse.value.toString()
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
Reference in New Issue
Block a user