Skip to content

Commit

Permalink
Merge pull request #151 from anyproto/go-1561-small-design-fixes
Browse files Browse the repository at this point in the history
GO-1561 Small fixes
  • Loading branch information
KirillSto authored Jul 4, 2023
2 parents 0e87c10 + 7051f0a commit 3d748ec
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions cmd/archiveprocessor/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,19 +218,6 @@ func processAndValidate(snapshot *pb.ChangeSnapshot, info *useCaseInfo) error {
processAccountRelatedDetails(snapshot)
processRules(snapshot)

if id == "bafyreibop22didlfnzyoplncnhd5cqrevjw5nwud3maqrzeq6h7jzedhmi" {
snapshot.Data.Blocks[15].Content.(*model.BlockContentOfBookmark).Bookmark = &model.BlockContentBookmark{
TargetObjectId: "bafyreidj2g3i6lc3udtlrr5ytcsgusywcyecepcirk5cans6aoxw2nnmhy",
Type: model.LinkPreview_Page,
State: model.BlockContentBookmark_Done,
Url: "https://community.anytype.io/",
Title: "Anytype Community",
Description: "Place to share feedback, write bug reports, and connect with Anytype users from all over the globe!",
ImageHash: "bafybeib4mags3wtdcpnlwcysqby6kdhvy2hbk3s54owcqmpvjwlv4xe7ky",
FaviconHash: "bafybeiasl27gslws4hpvzufm467zjhxb3klodj53rt6dpola67bmvep3x4",
}
}

if !strings.HasPrefix(id, addr.RelationKeyToIdPrefix) && !strings.HasPrefix(id, addr.ObjectTypeKeyToIdPrefix) {
isValid := true
for _, v := range validators {
Expand Down
Binary file modified util/builtinobjects/data/knowledge_base.zip
Binary file not shown.
Binary file modified util/builtinobjects/data/notes_diary.zip
Binary file not shown.
Binary file modified util/builtinobjects/data/personal_projects.zip
Binary file not shown.
Binary file modified util/builtinobjects/data/skip.zip
Binary file not shown.

0 comments on commit 3d748ec

Please sign in to comment.