Skip to content

Commit

Permalink
api: include all metadata in collection info api (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
ikreymer authored Jul 5, 2023
1 parent d6d0483 commit f75a682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dist/sw.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export function getCollData(coll) {
const metadata = coll.config.metadata ? coll.config.metadata : {};

const res = {
...metadata,
"title": metadata.title || "",
"desc": metadata.desc || "",
"size": metadata.size || 0,
Expand Down

0 comments on commit f75a682

Please sign in to comment.