Skip to content

Commit 304dd48

Browse files
committed
Fix Shiny mail import
1 parent 99061c3 commit 304dd48

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎DESCRIPTION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: certeprojects
22
Title: A Certe R Package for Department Projects
3-
Version: 1.30.12
3+
Version: 1.30.13
44
Authors@R: c(
55
person(given = c("Matthijs", "S."),
66
family = "Berends",

‎R/shiny.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ project_consult_add <- function(planner = connect_planner(),
435435
msg <- msgxtractr::read_msg(input$file_upload$datapath)
436436

437437
subject <- msg$subject
438-
from <- msg$sender$sender_name
438+
from <- msg$sender$sender_name[1]
439439
body <- msg$body$text
440440
body <- paste0(body[nchar(body) != 2], collapse = " ")
441441
body <- gsub("\r\n", "\n", body)

0 commit comments

Comments
 (0)