Skip to content

Commit

Permalink
[6.0.10][publish] fix meta api
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Mar 31, 2023
1 parent f202378 commit db2903f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fun Metadatable.setMeta(key: String, value: Any) {
}

fun Metadatable.hasMeta(key: String): Boolean {
return hasMetadata(key)
return getMetaFirstOrNull(key) != null
}

fun Metadatable.getMeta(key: String): List<MetadataValue> {
Expand Down

0 comments on commit db2903f

Please sign in to comment.