Skip to content

Commit e9058a4

Browse files
committed
Add attribution to prompt object.
1 parent d5fd18c commit e9058a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WordPress/Classes/Services/BloggingPromptsService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ struct BloggingPrompt {
7373
let answered: Bool
7474
let answerCount: Int
7575
let displayAvatarURLs: [URL]
76+
let attribution: String
7677

7778
init(with remotePrompt: RemoteBloggingPrompt) {
7879
promptID = remotePrompt.promptID
@@ -83,5 +84,6 @@ struct BloggingPrompt {
8384
answered = remotePrompt.answered
8485
answerCount = remotePrompt.answeredUsersCount
8586
displayAvatarURLs = remotePrompt.answeredUserAvatarURLs
87+
attribution = remotePrompt.attribution
8688
}
8789
}

0 commit comments

Comments
 (0)