소스 검색

Add missing Context property in Create activity

master
Matt Baer 5 년 전
부모
커밋
98f3fe9a4c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. +3
    -0
      activitystreams/activity.go

+ 3
- 0
activitystreams/activity.go 파일 보기

@@ -20,6 +20,9 @@ type Activity struct {
func NewCreateActivity(o *Object) *Activity {
a := Activity{
BaseObject: BaseObject{
Context: []string{
"https://www.w3.org/ns/activitystreams",
},
ID: o.ID + "/activity",
Type: "Create",
},


불러오는 중...
취소
저장